Introduction
Last updated
Was this helpful?
Last updated
Was this helpful?
JavaScript Object Notation
Common format for communicating with Application Program Interface (API)
Used to access DNAnexus API servers
Reading and modifying JSON is at the heart of building and running apps
Understanding JSON responses from the API will help you debug jobs
Automation and Batch submissions: running the same app on multiple files
Find which jobs have failed and why
Run the failed jobs again
A valid JSON document is enclosed in one of two data structures, either a list of values contained in square brackets:
Or an object composed of key/value pairs contained in curly brackets:
Example:
A JSON value may be any of the following:
single- or double-quoted string, e.g., "samtools" or 'file-G4x7GX80VBzQy64k4jzgjqgY'
integer, e.g. 19
or -4
float, e.g., 3.14
or 6.67384e-11
boolean, e.g., true
or false
null
object
Lists are braced in square brackets [ ]
Similar to Python syntax
Used for multiple values separated by commas
Example:
An object starts and ends with curly braces
An object contains key/value pairs
Keys must be quoted strings
Values may be any JSON value, including another object
Example:
To create a support ticket if there are technical issues:
Go to the Help header (same section where Projects and Tools are) inside the platform
Select "Contact Support"
Fill in the Subject and Message to submit a support ticket.