Skip to main content

is_json2_extension_type

Function is_json2_extension_type 

Source
pub fn is_json2_extension_type<T: AsRef<Field>>(field: T) -> bool
Expand description

Check if this field is a JSON2 extension type.

New schemas use Json2ExtensionType. For compatibility, old fields using JsonExtensionType with JSON settings or the pre-type-hint structured layout are also recognized as JSON2.