-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
None
-
Fully Compatible
bson-ruby currently implements partial serialization to extended json. Unfortunately this is done using #to_json method and this runs into problems when serializing standard library classes (e.g. Float) that have values like Infinity/NaN which are not serializable into standard json that have extended json representations.
Therefore there need to be another method added, e.g. #to_extended_json, which will return extended json and follow the extended json spec.
Test that Int32/Int64 in relaxed mode produce Integer values and not Int32/Int64
- is duplicated by
-
RUBY-2098 Reduce floating point precision required of extended json implementations
- Closed
- is related to
-
DRIVERS-952 Define stringification of floats in extended json more precisely
- Backlog
- links to