Method: BSON::Object#as_extended_json
- Defined in:
- lib/bson/object.rb
#as_extended_json(**_options) ⇒ Object
Converts this object to a representation directly serializable to Extended JSON (github.com/mongodb/specifications/blob/master/source/extended-json/extended-json.md).
Subclasses should override this method to provide custom serialization to Extended JSON.
84 85 86 |
# File 'lib/bson/object.rb', line 84 def as_extended_json(**) self end |