Skip to main content

to_pretty

Function to_pretty 

Source
pub fn to_pretty(j: &J) -> String
Expand description

Pretty JSON, keys in order, two-space indent; arrays of numbers and small objects of scalars stay on one line ("uv": [0, 0, 16, 16]).