JSON Output for exports #453
Replies: 2 comments
-
Hi @dieterdanger , the default export format for all frodo exports is JSON. Could you run an export on one or all of your journeys and open the resulting JSON file and let me know if that meets your needs? Here are a few sample commands to get different exports depending on your needs: Export single journey and all its dependencies by name to a single file in
Export all journeys and all their dependencies to a single file in
Export all journeys and all their dependencies to individual files in
With scripts you have additional options to export as JSON (default) or as JSON formatted as string array with the When using |
Beta Was this translation helpful? Give feedback.
-
Hello Volker, With respect to my initial request. I must have mixed something up after a long working day :-) Of course, the output of journey/script exports is json. What I've meant was the output of the 'describe' command for journeys or authn respectively. My problem with the default output of these commands is that they are difficult to process in scripting languages like bash. One problem is that the output contains ASCII-chars for color codes. If it would be possible to output the results in JSON format, I'd use something like jq to process it. I have two additional question, for which maybe you got an answer too:
Best regards |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
first of all thanks for this fantastic tool!
I'm in the process of automating our on premise AM deployment and I'm asking myself wether it is possible to output journey/scripts exports to json files? This would make handling in scripts a lot easier.
Right now I'm seeing options for simple output 'as is' or markdown for journeys.
Thanks and best regards
Dennis
Beta Was this translation helpful? Give feedback.
All reactions