Skip to content
eponvert edited this page Mar 26, 2012 · 3 revisions

Fields

Data fields are simple field values, not structured data types, structure fields are structured data type.

Data fields

Python Javascript Urlencoded
Boolean True | False true | false "true" | "false"
Constant str | int | bool string | number | boolean string
Date datetime.date Date "2012-01-01"
Datetime datetime.datetime Date "2012-01-01T00:00:00Z"
Enumeration str | int | bool string | number | boolean string
Integer int number string
Float float number string
Text str string string
Time datetime.time Time (custom) "00:00:00"

Structure fields

Python Javascript Urlencoded
Map dict Object "{a:1,b:2}"
Recursive (special) (special) (not-supported)
Sequence list Array "[1,2,3]"
Structure dict Object "{a:1,b:2}"
Tuple tuple Array "[1,2,3]"
Union (variable) (variable) (variable)
Clone this wiki locally