-1

我在 Objective-c/iOS 中创建一个 JSON 格式的字符串。如何编写符合 MongoDB _id 字段结构(type3 二进制)的 _id 元素?

4

1 回答 1

3

Mongo Extended JSON文档说这应该是 ObjectIds 的 JSON 表示

{ "$oid" : "50129aff7f8adfda54f955a1" }
于 2012-07-27T13:43:14.453 回答