pub fn jsonb_pretty(v: JsonbRef<'_>, writer: &mut impl Write)
Expand description
Converts the given JSON value to pretty-printed, indented text.
ยงExamples
query T
select jsonb_pretty('[{"f1":1,"f2":null}, 2]');
----
[
{
"f1": 1,
"f2": null
},
2
]