module BSON::JSON

def to_json(*args)

Other tags:
    Since: - 2.0.0

Returns:
  • (String) - The object as JSON.

Other tags:
    Note: - All types must implement as_json.

Other tags:
    Example: Convert the object to JSON -
def to_json(*args)
  as_json.to_json(*args)
end