Struct serde_json::builder::ObjectBuilder [] [src]

pub struct ObjectBuilder {
    // some fields omitted
}

This structure provides a simple interface for constructing a JSON object.

Methods

impl ObjectBuilder
[src]

Construct an ObjectBuilder.

Return the constructed Value.

Insert a key-value pair into the object.

Creates and passes an ObjectBuilder into a closure, then inserts the resulting array into this object.

Creates and passes an ObjectBuilder into a closure, then inserts the resulting object into this object.

Trait Implementations

impl Default for ObjectBuilder
[src]

Returns the "default value" for a type. Read more