Skip to content

Data Types

andresf edited this page Jan 18, 2013 · 1 revision

JSON Data Types

All the data types described by the JSON RFC may be used. For reference, these are:

  • String
  • Number
  • Boolean
  • Null
  • Object
  • Array

Special Data Types

Where the previous data types are not sufficient, other standards are used to fill the gaps:

  • Date: A string containing an ISO 8601 date (e.g. 2012-12-26).
  • DateTime: A string containing an ISO 8601 date + time + timezone (e.g. 2012-12-26T01:29+00:00). Unless specified, UTC will be used.