Module Transom_runtime.ProtocolSource
Sourcetype ndjson_parser = {mutable pending : string;
} Sourceval int_of_yojson :
string ->
[> `Int of int | `Intlit of string ] ->
(int, string) result Sourceval id_of_yojson : [> `Int of int | `Intlit of string ] -> (int, string) result Sourceval id_opt_of_yojson :
[> `Int of int | `Intlit of string | `Null ] ->
(int option, string) result Sourceval string_of_yojson : string -> [> `String of 'a ] -> ('a, string) result Sourceval field : string -> (string * 'a) list -> ('a, string) result Sourceval optional_id :
[> `Assoc of (string * [> `Int of int | `Intlit of string | `Null ]) list ] ->
int option Sourceval drop_trailing_cr : string -> string