You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mongo Data API accepts request in json and ejson(extended json).
The benefit of ejon is that it preserves the data time eg. Date filed. With json date is converted to iso string but with ejon date will be stored as Date type.
Suggested solution
A config property to choose between json and ejson.
Using this value to set the header in the request:
'Content-Type': 'application/<CONFIG_VALUE>'
Alternative
No response
Additional context
No response
Validations
Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
The text was updated successfully, but these errors were encountered:
Clear and concise description of the problem
Mongo Data API accepts request in json and ejson(extended json).
The benefit of ejon is that it preserves the data time eg. Date filed. With json date is converted to iso string but with ejon date will be stored as Date type.
Suggested solution
A config property to choose between json and ejson.
Using this value to set the header in the request:
'Content-Type': 'application/<CONFIG_VALUE>'
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: