JSON value.

Values

JString(s:String)

Quoted JSON string.

JNumber(s:String)

Number as defined in the JSON spec.

Represented as String, because JSON spec doesn't specify minimum and maximum values, so it's up to the user to parse this string to a number.

JObject(fields:Array<JObjectField>)

JSON object.

The fields array is ordered as defined in the JSON file.

JArray(values:Array<Json>)

Array of JSON values.

JBool(b:Bool)

Boolean value.

JNull

Null value.