Commits

camlspotter committed 3c8c0b8

comment cleanup

Comments (0)

Files changed (2)

 open Meta_conv.Result.Open
 open Tiny_json
 
-(* CR jfuruse: can be shared with other json apps *)
 let ocaml_of_t : Json.t Ocaml_conv.encoder = fun j -> Ocaml.String (Json.show j)
 let t_of_ocaml : Json.t Ocaml_conv.decoder = fun ?(trace=[]) o ->
   try match o with
 
 let parse s = try `Ok (Json.parse s) with e -> `Error (`Json_parse e)
 
-(* CR jfuruse: can be shared with other json apps *)
 module Error = struct
   open Format
 
        | `Json_parse of exn
        | `Other of exn ] 
     -> unit
+
   val from_Ok :
     [< `Error of [< `Http of int * 'a
                  | `Json_conv of Json.t Meta_conv.Error.t