Skip to main content

Module reverse

Module reverse 

Source
Expand description

Reverse conversion: JSON value → TypedValue.

This module provides conversion from JSON values to sync-core’s TypedValue.

Structs§

JsonConversionConfig
Configuration for JSON field conversions.
JsonValueWithSchema
JSON value paired with schema information for type-aware conversion.

Functions§

convert_id_to_value
Convert a string ID value to Value using Type.
convert_id_with_database_schema
Convert a string ID value to Value based on schema-defined type.
extract_field
Extract a typed value from a JSON object field.
json_object_to_typed_values
Convert a complete JSON object to a map of TypedValues using schema.
json_to_generated_value_with_config
Convert JSON to Value with path-based configuration.
json_to_typed_value_with_config
Convert a JSON value to TypedValue with path-based configuration.
json_to_universal_with_table_schema
Convert JSON value to Value using table schema for type lookup.
json_value_to_universal
Convert a JSON value to Value (without schema information).
parse_jsonl_line
Parse a JSONL line and convert to typed values.