Property data types

Supported property value data types are summarized in the following table.

Data type

Selection

Child type

Example

Object

Object

Properties can be objects, arrays or literals

Data enclosed in square brackets [ ]

{ property, // with type property, // with type property // with type

}

Array

Array

Items can be objects, arrays or literals

Data enclosed in curly brackets { }

[ "string", 10, 2.5, true, null]

Literals

Literal

None

Can be any of the following types.

String

Literal

None

Text enclosed in " " or ' ' 'String' or "String".

Integer

Literal

None

Integer numbers: 10, 15, 125309

Number

Literal

None

Can be integer, float or exponential form

Boolean

Literal

None

Can be true / False / true / false

Any

Literal

None

No type - value does not validate