Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
DSL.JsonOverlay on top of Jsonm to work with rewindable streams.
val decoder : ?encoding:[< Jsonm.encoding ] -> [< Jsonm.src ] -> decoderSame as Jsonm.decoder.
val decode :
decoder ->
[> `Await | `End | `Error of Jsonm.error | `Lexeme of Jsonm.lexeme ]Same as Jsonm.decode.
val rewind : decoder -> Jsonm.lexeme -> unitrewind d l rewinds l on top of the current state of d. This allows to put back lexemes already seen.
val decoder_and_lexemes : decoder -> Jsonm.decoder * Jsonm.lexeme listdecoder_and_lexemes d returns the underlying Jsonm.decoder and a list of lexemes you may have rewound. If you have not called rewind the list will be empty.