Skip to main content

reference_json_pretty

Function reference_json_pretty 

Source
pub fn reference_json_pretty(value: &Value) -> Option<String>
Expand description

Returns stable pretty JSON for a reference value with a bounded depth/size.

§Parameters

§Returns

Returns Some when crate::reference::reference_json_pretty can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_runtime_docs::reference::reference_json_pretty("value");