pub fn display(value: &Value) -> StringExpand description
Coerces one value to its display form.
This is the form used by bare-word arguments, double-quoted interpolation, and emitted output:
- strings are reproduced verbatim, without quotes,
- numbers use their JSON literal,
- booleans become
trueorfalse, - null becomes the empty string,
- arrays and objects become compact JSON text.