Skip to main content

value_to_json

Function value_to_json 

Source
pub fn value_to_json(v: &Value) -> Value
Expand description

Marshal a Value to its JSON wire form.

  • I32/I64 -> JSON integer
  • F32/F64 -> JSON number
  • Bytes -> JSON array of unsigned byte integers