Skip to content

Proper Extended JSON serialization added.

Choose a tag to compare

@JohnAD JohnAD released this 22 Dec 20:13

The serialization procedures now generate proper Extended Json per the spec.

https://docs.mongodb.com/manual/reference/mongodb-extended-json/

  • $ is canonical but indented
  • toJsonStr is canonical but minimized
  • pretty is relaxed and indented

If parsed into proper JsonNode, there is also intepretExtendedJson to move it back to proper BSON.