Struct serde::json::builder::ArrayBuilder [] [src]

pub struct ArrayBuilder {
    // some fields omitted
}

Methods

impl ArrayBuilder

fn new() -> ArrayBuilder

fn unwrap(self) -> Value

fn push<T: Serialize>(self, v: T) -> ArrayBuilder

fn push_array<F>(self, f: F) -> ArrayBuilder where F: FnOnce(ArrayBuilder) -> ArrayBuilder

fn push_object<F>(self, f: F) -> ArrayBuilder where F: FnOnce(ObjectBuilder) -> ObjectBuilder