Module destream_json::en[][src]

Encode a Rust data structure into JSON data.

Structs

Error

An error encountered while encoding a stream.

Functions

encode

Given an encodable value, return an encoded stream.

encode_map

Given a stream of encodable key-value pairs, return a streaming JSON object.

encode_seq

Given a stream of encodable elements, return a streaming JSON list.

try_encode_map

Given a stream of encodable key-value pairs, return a streaming JSON list.

try_encode_seq

Given a stream of encodable elements, return a streaming JSON list.

Type Definitions

JSONStream