Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
legacy-0.0-26compat-2.6.0, legacy-0.8.0
Description
If you have a JSON string with an outermost array (e.g. "[1,2,3]"), you cannot pass it to mongo::fromjson, as it expects an outermost object.
This is a bit unfortunate, given that the underlying JParse can certainly handle it, and there can be an optional boolean to say whether it is an array or not.
Again, happy to submit a PR if that will help move this along.
Attachments
Issue Links
- depends on
-
CXX-264 Merge upstream changes for SERVER-14357
-
- Closed
-