@@ -155,13 +155,13 @@ Given the `Credentials` type from the previous sections the default mapping is a
155155----
156156{
157157 "_class": "org.example.Credentials", <1>
158- "password", "327215", <2>
158+ "password": "327215", <2>
159159 "socialSecurityNumber": "AAA-GG-SSSS",
160160 "address": { <3>
161161 "street": "308 Negra Arroyo Lane",
162162 "city": "Albuquerque",
163163 "state": "New Mexico",
164- "zip":"87104"
164+ "zip": "87104"
165165 }
166166}
167167----
@@ -182,27 +182,27 @@ NOTE: The `@Id` property must be mapped to `String`.
182182| Simple Type +
183183(eg. String)
184184| String firstname = "Walter";
185- | firstname = "Walter"
185+ | " firstname": "Walter"
186186
187187| Complex Type +
188188(eg. Address)
189189| Address adress = new Address("308 Negra Arroyo Lane");
190- | address: { "street": "308 Negra Arroyo Lane" }
190+ | " address" : { "street": "308 Negra Arroyo Lane" }
191191
192192| List +
193193of Simple Type
194194| List<String> nicknames = asList("walt", "heisenberg");
195- | nicknames: ["walt", "heisenberg"]
195+ | " nicknames" : ["walt", "heisenberg"]
196196
197197| Map +
198198of Simple Type
199199| Map<String, Integer> atts = asMap("age", 51)
200- | atts : {"age" : 51}
200+ | " atts" : {"age" : 51}
201201
202202| List +
203203of Complex Type
204204| List<Address> addresses = asList(new Address("308…
205- | address: [{ "street": "308 Negra Arroyo Lane" }, …]
205+ | " address" : [{ "street": "308 Negra Arroyo Lane" }, …]
206206
207207|===
208208
0 commit comments