package jsonaf
-
jsonaf.kernel
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val t_without_trailing_whitespace : t Angstrom.t
t_without_trailing_whitespace
will parse a single JSON value without consuming any trailing whitespace. This is useful in the context of streaming multiple JSON values because it will immediately return t
when it is parsed, but it may fail in other parsing contexts where the input buffer is expected to be fully consumed.
val t : t Angstrom.t
This will read and ignore whitespace both before and after the JSON value.
val run : string -> (t, string) Stdlib.result
val run_many : string -> (t list, string) Stdlib.result