Skip to main content

pretty

Function pretty 

Source
pub fn pretty(document: &Value) -> String
Expand description

The document as PHP’s JSON_PRETTY_PRINT writes it, indented by four spaces.