Module serde_json_wasm::ser

source ·
Expand description

Serialize a Rust data structure into JSON data

Structs

  • Serializer implements serde::ser::Serializer and allows us to serialize a serde struct into JSON

Enums

  • This type represents all possible errors that can occur when serializing JSON data
  • Unreachable is a placeholder for features that are not supported (and should be unreachable, unless you use unsupported serde flags)

Functions

  • Serializes the given data structure as a string of JSON text
  • Serializes the given data structure as a JSON byte vector

Type Definitions