[−][src]Trait yajlish::Handler
Implement this trait to handle parse events.
Required methods
pub fn handle_null(&mut self, ctx: &Context) -> Status
[src]
Latest parsed value was a null.
pub fn handle_double(&mut self, ctx: &Context, val: f64) -> Status
[src]
Latest parsed value was a double.
pub fn handle_int(&mut self, ctx: &Context, val: i64) -> Status
[src]
Latest parsed value was an int.
pub fn handle_bool(&mut self, ctx: &Context, val: bool) -> Status
[src]
Latest parsed value was a bool.
pub fn handle_string(&mut self, ctx: &Context, val: &str) -> Status
[src]
Latest parsed value was a string.
pub fn handle_start_map(&mut self, ctx: &Context) -> Status
[src]
Latest parsed value was a left curly brace ({).
pub fn handle_end_map(&mut self, ctx: &Context) -> Status
[src]
Latest parsed value was a right curly brace (}).
pub fn handle_map_key(&mut self, ctx: &Context, key: &str) -> Status
[src]
Latest parsed value was a key to a JSON object.
pub fn handle_start_array(&mut self, ctx: &Context) -> Status
[src]
Latest parsed value was a left bracket ([).
pub fn handle_end_array(&mut self, ctx: &Context) -> Status
[src]
Latest parsed value was a right bracket ([).