Skip to content

Commit 266de5c

Browse files
committed
PHPC-207: Correct serialized data examples for ODS documentation
1 parent 81de2ca commit 266de5c

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

docs/ods.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -150,40 +150,40 @@ This will result in the following document to be stored (as shown by mongo shell
150150

151151
```
152152
{
153-
"_id" : ObjectId("54c9664fbd21b9416f2e0501"),
154-
"__" : BinData(128,"UGVyc29u"),
155-
"name" : "Hannes",
156-
"age" : 31,
157-
"address" : [
158-
[
159-
BinData(128,"QWRkcmVzcw=="),
160-
94086,
161-
"USA"
162-
],
163-
[
164-
BinData(128,"QWRkcmVzcw=="),
165-
200,
166-
"Iceland"
167-
]
168-
],
169-
"friends" : [
170-
[
171-
BinData(128,"UGVyc29u"),
172-
ObjectId("54c9664fbd21b9416f2e0502"),
173-
"Jeremy",
174-
21,
175-
[
176-
[
177-
BinData(128,"QWRkcmVzcw=="),
178-
48169,
179-
"USA"
180-
]
181-
],
182-
{
183-
184-
}
185-
]
186-
]
153+
"_id" : ObjectId("551f2004bd21b959de3c15b1"),
154+
"__pclass" : BinData(128,"UGVyc29u"),
155+
"name" : "Hannes",
156+
"age" : 31,
157+
"address" : [
158+
{
159+
"__pclass" : BinData(128,"QWRkcmVzcw=="),
160+
"zip" : 94086,
161+
"country" : "USA"
162+
},
163+
{
164+
"__pclass" : BinData(128,"QWRkcmVzcw=="),
165+
"zip" : 200,
166+
"country" : "Iceland"
167+
}
168+
],
169+
"friends" : [
170+
{
171+
"__pclass" : BinData(128,"UGVyc29u"),
172+
"_id" : ObjectId("551f2004bd21b959de3c15b2"),
173+
"name" : "Jeremy",
174+
"age" : 21,
175+
"address" : [
176+
{
177+
"__pclass" : BinData(128,"QWRkcmVzcw=="),
178+
"zip" : 48169,
179+
"country" : "USA"
180+
}
181+
],
182+
"friends" : {
183+
184+
}
185+
}
186+
]
187187
}
188188
```
189189

0 commit comments

Comments
 (0)