Skip to main content

Module json_extensions

Module json_extensions 

Source
Expand description

LaminarDB streaming JSON extension UDFs (F-SCHEMA-013) LaminarDB JSON extension UDFs (F-SCHEMA-013).

Streaming-specific JSON transformation functions that extend beyond PostgreSQL standard:

  • Merge: jsonb_merge, jsonb_deep_merge
  • Cleanup: jsonb_strip_nulls
  • Key ops: jsonb_rename_keys, jsonb_pick, jsonb_except
  • Flatten: jsonb_flatten, jsonb_unflatten
  • Schema: json_to_columns, json_infer_schema

Structs§

JsonInferSchema
json_infer_schema(jsonb) -> text
JsonToColumns
json_to_columns(jsonb, type_spec) -> jsonb
JsonbDeepMerge
jsonb_deep_merge(jsonb, jsonb) -> jsonb
JsonbExcept
jsonb_except(jsonb, text[]) -> jsonb
JsonbFlatten
jsonb_flatten(jsonb, separator) -> jsonb
JsonbMerge
jsonb_merge(jsonb, jsonb) -> jsonb
JsonbPick
jsonb_pick(jsonb, text[]) -> jsonb
JsonbRenameKeys
jsonb_rename_keys(jsonb, map<text,text>) -> jsonb
JsonbStripNulls
jsonb_strip_nulls(jsonb) -> jsonb
JsonbUnflatten
jsonb_unflatten(jsonb, separator) -> jsonb

Functions§

register_json_extensions
Registers all JSON extension UDFs with the given session context.