@@ -158,13 +158,13 @@ Given the `Credentials` type from the previous sections the default mapping is a
158158----
159159{
160160 "_class": "org.example.Credentials", <1>
161- "password", "327215", <2>
161+ "password": "327215", <2>
162162 "socialSecurityNumber": "AAA-GG-SSSS",
163163 "address": { <3>
164164 "street": "308 Negra Arroyo Lane",
165165 "city": "Albuquerque",
166166 "state": "New Mexico",
167- "zip":"87104"
167+ "zip": "87104"
168168 }
169169}
170170----
@@ -186,27 +186,27 @@ NOTE: The `@Id` property must be mapped to `String`.
186186| Simple Type +
187187(eg. String)
188188| String firstname = "Walter";
189- | firstname = "Walter"
189+ | " firstname": "Walter"
190190
191191| Complex Type +
192192(eg. Address)
193193| Address adress = new Address("308 Negra Arroyo Lane");
194- | address: { "street": "308 Negra Arroyo Lane" }
194+ | " address" : { "street": "308 Negra Arroyo Lane" }
195195
196196| List +
197197of Simple Type
198198| List<String> nicknames = asList("walt", "heisenberg");
199- | nicknames: ["walt", "heisenberg"]
199+ | " nicknames" : ["walt", "heisenberg"]
200200
201201| Map +
202202of Simple Type
203203| Map<String, Integer> atts = asMap("age", 51)
204- | atts : {"age" : 51}
204+ | " atts" : {"age" : 51}
205205
206206| List +
207207of Complex Type
208208| List<Address> addresses = asList(new Address("308…
209- | address: [{ "street": "308 Negra Arroyo Lane" }, …]
209+ | " address" : [{ "street": "308 Negra Arroyo Lane" }, …]
210210
211211|===
212212
0 commit comments