-
Type: Bug
-
Resolution: Won't Do
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:
-
Environment:
*Location*: https://docs.mongodb.com/manual/reference/mongodb-extended-json/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/601.6.17 (KHTML, like Gecko) Version/9.1.1 Safari/601.6.17
*Referrer*: https://duckduckgo.com/
*Screen Resolution*: 2560 x 1440
JSON encoded data generally has the associated mime type "application/json", however this format is "generic" and contains no structural specification beyond the basic types. MongoDB Extended JSON is a flavour that adds semantic meaning to specific underlying structures (specifically, predominantly single-key nested mappings whose key is $-prefixed), which is way more meaning than expected for just "application/json". It is customary to use an annotation on the mime type to denote the structure or format used within, but none is currently documented on the MongoDB Extended JSON page. Please consider what an appropriate value might be ("application/json+mongo"?) and include it in the documentation.
Thank you!