Postgres module

json_value

procedure · 1 overloadsince 0.27.0Source

The document as a Json_Value tree, which the caller releases with free_json (from Extensions/Json); any JSON can be read this way, whatever T a column would map it to.

json_value :: (
    raw: Json_Raw,
    options := Json_Options.{}
) -> (Json_Module.Json_Value, Json_Module.Json_Error)

The document as a Json_Value tree, which the caller releases with free_json (from Extensions/Json); any JSON can be read this way, whatever T a column would map it to.

Parameters

raw: Json_Raw
the document.
options := Json_Options.{}
decoding options for this call.

Returns

See also