Skip to main content

Module json_parser

Module json_parser 

Source
Expand description

JSON Parser for QualiaDB

Zero-allocation JSON parser that streams data directly into NQuin format. Supports common data types with proper inline type tagging, deterministic subject identifiers (DOM-AX-7), provenance context/sensitivity packing, and raw invalid lexical retention.

Structs§

JsonFieldMapping
JsonMappingProfile

Enums§

JsonDatatype

Constants§

INVALID_VALUE_METADATA_FLAG
PRED_RAW_INVALID_LEXICAL

Functions§

derive_deterministic_subject
Derive a deterministic 63-bit subject hash from (base_class_or_ns, row_or_key, raw_record_hash) (DOM-AX-7).
parse_json_to_quins
Parse JSON data from a reader and stream Quins (backward-compatible signature).
parse_json_to_quins_with_provenance
Parse JSON data with explicit provenance. Fails closed if source_context_hash or base_class_hash is 0.