Working with JSON Data
Literal JSON
omics workbench runs submit --url ${WORKFLOW_URL} \
--workflow-params '{"hello_world.greeting": "Hello", "hello_world.people": [ {"name": "Paullete", "age": 42}, { "name": "Heinrich", "age": 32}]}'
# You can also output the literal JSON by running a command and pass the contents to the flag
omics workbench runs submit \
--url ${WORKFLOW_URL} \
--workflow-params "$(mutateJson input.json)" Load JSON from a file
{
"hello_world.greeting":"Hello",
"hello_world.people": [
{
"name": "Paullete",
"age": 42
},
{
"name": "Heinrich",
"age": 37
}
]
}Build Complex JSON with Key:Value Pairs
Keys
Operators
Examples
Last updated
Was this helpful?

