Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
Description
Using BSON JsonReader to parse below JSON string got JsonParseException with error message "Failed to parse string as a date", but this JSON string can be imported successfully using mongoimport. It looks like JsonReader using java8 java.time.format.DataFormatter.ISO_OFFSET_DATE_TIME to parse java string, is it possible to extend the the pattern to be more flexible?
{
|
"_id": 1, |
"title": "Unlocking Android", |
"isbn": "1933988673", |
"pageCount": 416, |
"publishedDate": { |
"$date": "2009-04-01T00:11:00-0800" |
}
|
}
|
Attachments
Issue Links
- is related to
-
DOCS-11478 Updated Extended JSON docs to address v2
-
- Closed
-