lode/types/json
:json / :jsonb — an arbitrary JSON document stored in a single column.
The Gleam-side representation is Value itself (the JSON tree). dump
serializes it to a JSON-text VString; the postgres adapter sends that into
a jsonb column verbatim (Postgres accepts a text param for jsonb), and
reads it back as text which load re-parses. cast accepts either a JSON
string or an already-structured Value.
Values
pub fn json() -> type_.LodeType(value.Value)