A json or jsonb document holding a T. get decodes it with the Json module's decoder for
T, under the result's json_options and the query's json (json_options.jai); as a parameter
it is encoded with write_json. OPTIONS is a Json_Columns entry's options (packed by
pack_json_options), which the generated schema puts in the type; 0 says nothing.
write lets a parameter passed as Any find its encoder, so leave it as it is. Json(Json_Raw)
keeps the document undecoded: it is what a generated schema gives a json column nobody mapped.
Fields
- value: T
- write: (value: *T, builder: *String_Builder)