struct BSON::Code
- BSON::Code
- Struct
- Value
- Object
Overview
JavaScript code.
Defined in:
Constructors
Instance Method Summary
- #code : String
- #scope : BSON?
-
#to_canonical_extjson(builder : JSON::Builder)
Serialize to a canonical extended json representation.
- #to_json(builder : JSON::Builder)
Constructor Detail
Instance Method Detail
def to_canonical_extjson(builder : JSON::Builder)
#
Serialize to a canonical extended json representation.
NOTE see https://github.com/mongodb/specifications/blob/master/source/extended-json.rst