json value

The json value type represents a JSON value. This can be any of the following:

  • String (double-quoted Unicode, with backslack escaping)
  • Number (double precision floating-point format in JavaScript)
  • Object (an unordered collection of key:value pairs with the ':' character separating the key and the value, comma separated and enclosed in curly braces. The keys must be strings and should be distinct from each other.)
  • Array (an ordered sequence of values, comma-separated and enclosed in square brackets; the values do not need to be of the same type)
  • Boolean (true or false)
  • null (empty)
Version Platforms
9.0.586.0 AIX, Debian, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Ubuntu, Windows

Creation

json of <file> : json value
json of <string> : json value
value of <json key> : json value

Properties

element <integer> of <json value> : json value
element of <json value> : json value
key <string> of <json value> : json key
key of <json value> : json key
path <string> of <json value> : json value
type of <json value> : string

Casts

<json value> as boolean : boolean
<json value> as float : floating point
<json value> as integer : integer
<json value> as string : string

Operators