var searchIndex = {}; searchIndex["json"] = {"doc":"![](http://terhix.com/doc/json-rust-logo-small.png)","items":[[4,"JsonError","json","",null,null],[13,"UnexpectedToken","","",0,null],[13,"UnexpectedCharacter","","",0,null],[13,"UnexpectedEndOfJson","","",0,null],[13,"CantCastCodepointToCharacter","","",0,null],[13,"ArrayIndexOutOfBounds","","",0,null],[13,"WrongType","","",0,null],[13,"UndefinedField","","",0,null],[4,"JsonValue","","",null,null],[13,"String","","",1,null],[13,"Number","","",1,null],[13,"Boolean","","",1,null],[13,"Null","","",1,null],[13,"Object","","",1,null],[13,"Array","","",1,null],[5,"parse","","",null,{"inputs":[{"name":"str"}],"output":{"name":"jsonresult"}}],[5,"stringify_ref","","",null,{"inputs":[{"name":"jsonvalue"}],"output":{"name":"string"}}],[5,"stringify","","Pretty prints out the value as JSON string.",null,{"inputs":[{"name":"t"}],"output":{"name":"string"}}],[5,"stringify_pretty","","Pretty prints out the value as JSON string. Second argument is a\nnumber of spaces to indent new blocks with.",null,{"inputs":[{"name":"t"},{"name":"u16"}],"output":{"name":"string"}}],[11,"clone","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"fmt","","",1,null],[11,"new_object","","Create an empty `JsonValue::Object` instance.\nWhen creating an object with data, consider using the `object!` macro.",1,{"inputs":[],"output":{"name":"jsonvalue"}}],[11,"new_array","","Create an empty `JsonValue::Array` instance.\nWhen creating array with data, consider using the `array!` macro.",1,{"inputs":[],"output":{"name":"jsonvalue"}}],[11,"is","","Checks if the value stored matches `other`.",1,null],[11,"is_string","","",1,null],[11,"as_string","","",1,null],[11,"is_number","","",1,null],[11,"as_number","","",1,null],[11,"is_boolean","","",1,null],[11,"as_boolean","","",1,null],[11,"is_null","","",1,null],[11,"is_object","","",1,null],[11,"is_array","","",1,null],[11,"put","","Works on `JsonValue::Object` - create or override key with value.",1,null],[11,"get","","Works on `JsonValue::Object` - get a reference to a value behind key.\nFor most purposes consider using `object[key]` instead.",1,null],[11,"get_mut","","Works on `JsonValue::Object` - get a mutable reference to a value behind\nthe key.",1,null],[11,"with","","Attempts to get a mutable reference to the value behind a key on an\nobject. If the reference doesn't exists, it will be created and\nassigned a null. If `self` is not an object, an empty object with\nnull key will be created.",1,null],[11,"push","","Works on `JsonValue::Array` - pushes a new value to the array.",1,null],[11,"at","","Works on `JsonValue::Array` - gets a reference to a value at index.\nFor most purposes consider using `array[index]` instead.",1,null],[11,"at_mut","","Works on `JsonValue::Array` - gets a mutable reference to a value\nat index.",1,null],[11,"contains","","Works on `JsonValue::Array` - checks if the array contains a value",1,null],[11,"len","","Returns length of array or object (number of keys), defaults to `0` for\nother types.",1,null],[11,"members","","Works on `JsonValue::Array` - returns an iterator over members.",1,null],[11,"members_mut","","Works on `JsonValue::Array` - returns a mutable iterator over members.",1,null],[11,"entries","","Works on `JsonValue::Object` - returns an iterator over key value pairs.",1,null],[11,"entries_mut","","Works on `JsonValue::Object` - returns a mutable iterator over\nkey value pairs.",1,null],[11,"index","","",1,null],[11,"index","","",1,null],[11,"fmt","","",0,null],[11,"unexpected_token","","",0,{"inputs":[{"name":"token"}],"output":{"name":"self"}}],[11,"wrong_type","","",0,{"inputs":[{"name":"str"}],"output":{"name":"self"}}],[11,"undefined","","",0,{"inputs":[{"name":"str"}],"output":{"name":"self"}}],[11,"fmt","","",0,null],[11,"description","","",0,null],[0,"iterators","","",null,null],[4,"Members","json::iterators","",null,null],[13,"Some","","",2,null],[13,"None","","",2,null],[4,"MembersMut","","",null,null],[13,"Some","","",3,null],[13,"None","","",3,null],[4,"Entries","","",null,null],[13,"Some","","",4,null],[13,"None","","",4,null],[4,"EntriesMut","","",null,null],[13,"Some","","",5,null],[13,"None","","",5,null],[11,"next","","",2,null],[11,"next","","",3,null],[11,"next","","",4,null],[11,"next","","",5,null],[6,"JsonResult","json","",null,null],[6,"Array","","",null,null],[6,"Object","","",null,null],[11,"dump","","Prints out the value as JSON string.",1,null],[11,"pretty","","Pretty prints out the value as JSON string. Takes an argument that's\nnumber of spaces to indent new blocks with.",1,null],[11,"into","","",6,null],[11,"into","","",7,null],[14,"array!","","",null,null],[14,"object!","","",null,null]],"paths":[[4,"JsonError"],[4,"JsonValue"],[4,"Members"],[4,"MembersMut"],[4,"Entries"],[4,"EntriesMut"],[6,"Object"],[6,"Array"]]}; initSearch(searchIndex);