Skip to main content
Skip table of contents

parseJSON

Takes JSON content as a File or as a String, parses it into an appropriate structure of variable values and stores the result in the variable context. The types of values that the parsing produces are as follows:

JSON value

Dynamo value type

object

Map

array

Collection

string

String

number

Number

true, false

Boolean

null

null

Additionally, if this command's deserialize attribute resolves into true and the JSON to parse has been produced by the toJSON command that had its serialize attribute as true as well, this command also parses the JSON forms of Dynamo's value types Currency, Date, DateTime, HTML Value, Multipicklist Value, Percentage and Picklist Value.

var

String

Defines the name of the variable that will hold the parsed result.

value

String, File

Defines the JSON content to parse.

deserialize

Boolean

Allows this command to be put into an advanced deserialization mode, in which it can parse JSON produced by a toJSON that had its serialize attribute resolved into true.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.