Trait json_syntax::parse::Parse
source · [−]pub trait Parse<F>: Sized {
fn parse_in<E, C>(
parser: &mut Parser<F, E, C>,
context: Context
) -> Result<Loc<Self, F>, Loc<Error<E, F>, F>>
where
C: Iterator<Item = Result<DecodedChar, E>>;
fn parse<E, C>(
file: F,
chars: C
) -> Result<Loc<Self, F>, Loc<Error<E, F>, F>>
where
C: Iterator<Item = Result<DecodedChar, E>>,
{ ... }
fn parse_with<E, C>(
file: F,
chars: C,
options: Options
) -> Result<Loc<Self, F>, Loc<Error<E, F>, F>>
where
C: Iterator<Item = Result<DecodedChar, E>>,
{ ... }
}