Skip to main content

Module json

Module json 

Source

Re-exportsยง

pub use crate::json::JSON2_REMAINDER_FIELD_NAME;

Structsยง

Json2ExtensionType
Arrow extension type for JSON2 columns and concretized projections.
Json2PhysicalLayout
Parsed physical layout of a JSON2 Arrow root field.
JsonExtensionType
Arrow extension type for legacy JSONB columns.
JsonMetadata

Constantsยง

JSON2_LAYOUT_V1 ๐Ÿ”’
JSON2_LAYOUT_V2 ๐Ÿ”’
LEGACY_JSON_STRUCTURE_SETTINGS_KEY ๐Ÿ”’

Functionsยง

is_any_json_extension_type
Checks whether this field is either a legacy JSONB or JSON2 extension type.
is_json2_extension_type
Check if this field is a JSON2 extension type.
is_legacy_json2_extension_type
Checks whether this field uses the JSON2 extension layout from before type hints.
json2_remainder_field ๐Ÿ”’
Returns the remainder field of a JSON2 v2 root.
parse_legacy_json2_settings
Parses JSON2 settings stored by the historical greptime.json extension.
parse_version ๐Ÿ”’