Struct bodyparser::Json [] [src]

pub struct Json;

Json is a plugin to parse a request body into JSON. Uses Raw plugin to parse the body with limit.

Trait Implementations

impl Key for Json

type Value = Option<Json>

impl<'a, 'b> Plugin<Request<'a, 'b>> for Json

type Error = BodyError

fn eval(req: &mut Request) -> Result<Option<Json>, BodyError>

Derived Implementations

impl Clone for Json

fn clone(&self) -> Json

fn clone_from(&mut self, source: &Self)