nyoom-json : json what goes nyoom
nyoom-json is a bare-bones streaming json generation library, built for specialized use cases and Just Going Fast :tm: it's also no-std!
credit where credit is due
nyoom-json borrows heavily in style from write-json, and takes its string escaping code from miniserde
examples
use ;
let mut out = Stringnew;
let mut ser = new;
let mut obj = ser.object;
obj.field;
obj.field;
obj.field;
obj.field; // good! mew :3
obj.end;
use Serializer;
let mut out = Stringnew;
let mut ser = new;
let mut arr = ser.array;
arr.add;
arr.add;
arr.add;
arr.end;
ser.end;
use ;
let mut out = Stringwith_capacity;
let mut ser = new;
let mut arr = ser.array;
arr.add_complex;
arr.add;
arr.end;