module BSON::Object
def as_extended_json(**_options)
-
(Object)
- The extended json representation.
def as_extended_json(**_options) self end
def to_bson_key
- Since: - 2.2.4
Other tags:
- See: http://bsonspec.org/#/specification -
Raises:
-
(BSON::Error::InvalidKey)
- Always raises an exception.
Other tags:
- Example: Convert the object to a BSON key. -
def to_bson_key raise Error::InvalidKey.new(self) end
def to_bson_normalized_key
- Since: - 3.0.0
Returns:
-
(Object)
- self.
Other tags:
- Example: Convert the object to a normalized key. -
def to_bson_normalized_key self end
def to_bson_normalized_value
- Since: - 3.0.0
Returns:
-
(Object)
- self.
Other tags:
- Example: Convert the object to a normalized value. -
def to_bson_normalized_value self end
def to_extended_json(**options)
-
(String)
- The extended json serialization.
Options Hash:
(**opts)
-
:mode
(nil | :relaxed | :legacy
) -- Serialization mode
def to_extended_json(**options) as_extended_json(**options).to_json end