User Tools

Site Tools


transformations:constructjson

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
transformations:constructjson [2020/01/11 15:54] – [Nesting JSON objects] dmitrytransformations:constructjson [2021/04/14 10:19] andrew
Line 61: Line 61:
 | Text      | ABC     | string  | "ABC"   | | Text      | ABC     | string  | "ABC"   |
 | Number    |  123.45 | number  |  123.45 | | Number    |  123.45 | number  |  123.45 |
-| Number (formatted as date)    2020-Jan-10 | date  |  2020-01-10T00:00:00Z |+| Number (formatted as date)    2020-Jan-10 | date  |  2020-01-10T00:00:00 |
 | Boolean    TRUE  | boolean  | true  | | Boolean    TRUE  | boolean  | true  |
 | Empty          | null     | null  | | Empty          | null     | null  |
Line 89: Line 89:
 } }
 </code> </code>
-Notice that Location is inserted as a JSON object, not as text. Field "Hiatus" is inserted as a JSON array, not as text too.+Notice that "Locationis inserted as a JSON object, not as text. Also, field "Hiatus" is inserted as a JSON array, not as text.
  
 ==== See also ==== ==== See also ====
transformations/constructjson.txt · Last modified: 2022/10/02 20:16 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki