News

Complex JSON: Nesting, objects, and arrays. So far, you’ve only seen examples of JSON used with shallow (or simple) objects. That just means every field on the object holds the value of a primitive.
JSON arrays. JSON arrays are an ordered list of values. Arrays are used to store objects, strings, number notation and Boolean notation. An array can be made up of multiple data types. Arrays in JSON ...
I’ll show my own example of data in JSON format a little later, but I’m going to let Groovy 1.8 generate the example JSON for me. Groovier JSON Groovy 1.8 provides native support for JSON .