sonic_rs

Module value

Source
Expand description

A dynamic type to representing any valid JSON value.

Modules§

  • Represents a parsed JSON array. Its APIs are likes Vec<Value>.
  • Represents a parsed JSON object.

Structs§

  • Array represents a JSON array. Its APIs are likes Array<Value>.
  • Represents the JSON object. The inner implement is a key-value array. Its order is as same as origin JSON.
  • Represents any valid JSON value.

Enums§

  • JsonType is an enum that represents the type of a JSON value.
  • ValueRef is a immutable reference helper for Value.

Traits§

Functions§

  • Interpret a sonic_rs::Value as an instance of type T.
  • Convert a T into sonic_rs::Value which can represent any valid JSON data.