class BSON::ObjectId

def as_extended_json(**_)

Returns:
  • (Hash) - The extended json representation.
def as_extended_json(**_)
  { '$oid' => to_s }
end