class BSON::Regexp::Raw

def as_json(*)

Returns:
  • (Hash) - The raw regexp as a JSON hash.

Other tags:
    Example: Get the raw regexp as a JSON hash. -
def as_json(*)
  as_extended_json(mode: :legacy)
end