var searchIndex = {}; searchIndex["json"] = {"doc":"JSON ([RFC 7159](http://tools.ietf.org/html/rfc7159)) encoder\nand decoder implementations.","items":[[3,"Utf8Buffer","json","UTF-8 encoding buffer over an u8-slice.",null,null],[11,"new","","",0,null],[11,"reset","","",0,null],[11,"as_str","","",0,null],[11,"is_full","","",0,null],[11,"push","","",0,null],[0,"ast","","JSON AST definition.",null,null],[3,"Ref","json::ast","A reference to some `Json` value.",null,null],[4,"Json","","",null,null],[13,"Bool","","",1,null],[13,"Number","","",1,null],[13,"String","","",1,null],[13,"Array","","",1,null],[13,"Object","","",1,null],[13,"Null","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"new","","",2,{"inputs":[{"name":"json"}],"output":{"name":"ref"}}],[11,"at","","",2,null],[11,"get","","",2,null],[11,"value","","",2,null],[11,"opt","","",2,null],[11,"bool","","",2,null],[11,"string","","",2,null],[11,"number","","",2,null],[0,"decoder","json","JSON ([RFC 7159](http://tools.ietf.org/html/rfc7159))\ndecoder implementation.",null,null],[3,"Decoder","json::decoder","JSON decoder over `char` iterators.",null,null],[3,"Config","","Decoder configuration.",null,null],[12,"max_nesting","","Maximum recursion steps when decoding generic `Json`",3,null],[3,"Element","","JSON array element.",null,null],[12,"value","","The decoded value.",4,null],[12,"is_last","","Is this the last array element?",4,null],[3,"ArrayIter","","Iterator over JSON array elements.",null,null],[3,"ReadIter","","Iterator over characters read from any `Read`-type.",null,null],[4,"DecodeError","","",null,null],[13,"EndOfInput","","The underlying iterator stopped giving us new values.",5,null],[13,"Expected","","An expectation was not met while decoding.",5,null],[13,"MaxRecursion","","During generic JSON decoding too many nesting levels had\nbeen encountered. See `Config` for details.",5,null],[13,"IntOverflow","","When decoding integer values, the actual JSON digits exceeded\nthe possible value range.",5,null],[13,"Unexpected","","An unexpected character was encountered.",5,null],[13,"UnicodeEscape","","An invalid unicode escape sequence was found when\ndecoding a JSON string.",5,null],[13,"Number","","Decoding a numeric value failed.",5,null],[13,"BufferOverflow","","A JSON string did not fit into the provided `Utf8Buffer`.",5,null],[4,"ReadError","","",null,null],[13,"InvalidUtf8","","",6,null],[13,"Io","","",6,null],[6,"DecodeResult","","",null,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"fmt","","",3,null],[11,"clone","","",3,null],[11,"default","","Create default configuration with\n- `max_nesting` = 16",3,{"inputs":[],"output":{"name":"config"}}],[11,"new","","",7,{"inputs":[{"name":"config"},{"name":"i"}],"output":{"name":"decoder"}}],[11,"default","","Create decoder with default `Config`.",7,{"inputs":[{"name":"i"}],"output":{"name":"decoder"}}],[11,"into_iter","","",7,null],[11,"decode","","",7,null],[11,"skip","","Decode as generic Json but ignore the result.",7,null],[11,"u8","","",7,null],[11,"u16","","",7,null],[11,"u32","","",7,null],[11,"u64","","",7,null],[11,"usize","","",7,null],[11,"i8","","",7,null],[11,"i16","","",7,null],[11,"i32","","",7,null],[11,"i64","","",7,null],[11,"isize","","",7,null],[11,"f64","","",7,null],[11,"null","","",7,null],[11,"bool","","",7,null],[11,"string","","",7,null],[11,"str","","Decode a JSON string into the given `Utf8Buffer`.",7,null],[11,"optional","","Decode `null` (which is mapped to `None`) or some other\nJSON value (mapped to `Some`).",7,null],[11,"array","","",7,null],[11,"array1","","Decode non-empty JSON arrays.",7,null],[11,"array_iter","","Create a JSON array iterator to conveniently decode\na homogenous array.",7,null],[11,"element","","Decode a JSON array element.",7,null],[11,"object","","",7,null],[11,"object1","","Decode non-empty JSON objects.",7,null],[11,"key","","Decode a JSON object key.",7,null],[11,"key_str","","Decode a JSON object key into the given buffer.",7,null],[11,"value","","Decode a JSON object value.",7,null],[11,"eq","","",5,null],[11,"ne","","",5,null],[11,"fmt","","",5,null],[11,"clone","","",5,null],[11,"fmt","","",5,null],[11,"description","","",5,null],[11,"next","","",8,null],[11,"new","","",9,{"inputs":[{"name":"r"}],"output":{"name":"readiter"}}],[11,"error","","Get the error that has been encountered (if any).",9,null],[11,"next","","",9,null],[11,"fmt","","",6,null],[11,"fmt","","",6,null],[11,"description","","",6,null],[11,"cause","","",6,null],[11,"from","","",6,{"inputs":[{"name":"charserror"}],"output":{"name":"readerror"}}],[0,"encoder","json","JSON ([RFC 7159](http://tools.ietf.org/html/rfc7159)) encoder.",null,null],[3,"Encoder","json::encoder","JSON encoder over any `Write`-type.",null,null],[4,"EncodeError","","",null,null],[13,"Io","","",10,null],[13,"InvalidFloat","","A float value such as `NAN` or `INFINITY` was used.",10,null],[6,"EncodeResult","","",null,null],[11,"new","","",11,{"inputs":[{"name":"w"}],"output":{"name":"encoder"}}],[11,"into_writer","","",11,null],[11,"writer","","",11,null],[11,"encode","","",11,null],[11,"u8","","",11,null],[11,"u16","","",11,null],[11,"u32","","",11,null],[11,"u64","","",11,null],[11,"usize","","",11,null],[11,"i8","","",11,null],[11,"i16","","",11,null],[11,"i32","","",11,null],[11,"i64","","",11,null],[11,"isize","","",11,null],[11,"f64","","",11,null],[11,"bool","","",11,null],[11,"null","","",11,null],[11,"string","","",11,null],[11,"key","","",11,null],[11,"array","","",11,null],[11,"object","","",11,null],[11,"fmt","","",10,null],[11,"fmt","","",10,null],[11,"description","","",10,null],[11,"cause","","",10,null],[11,"from","","",10,{"inputs":[{"name":"error"}],"output":{"name":"encodeerror"}}],[14,"object!","json","Macro to support declarative decoding into struct types.",null,null],[14,"to_field!","","",null,null],[14,"array!","","Macro to support declarative decoding into `Vec`.",null,null]],"paths":[[3,"Utf8Buffer"],[4,"Json"],[3,"Ref"],[3,"Config"],[3,"Element"],[4,"DecodeError"],[4,"ReadError"],[3,"Decoder"],[3,"ArrayIter"],[3,"ReadIter"],[4,"EncodeError"],[3,"Encoder"]]}; initSearch(searchIndex);