This file is indexed.

/usr/lib/ocaml/json-wheel/json_compat.ml is in libjson-wheel-ocaml-dev 1.0.6-2build6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
(** Pseudo-compatibility with other JSON implementation.
  Do not use this module in new programs. *)

type jsontype = Json_type.t

(** @deprecated 
  Use {!Json_io.string_of_json} instead. *)
let serialize x = Json_io.string_of_json x

(** @deprecated 
  Use {!Json_io.json_of_string} instead. *)
let deserialize s = Json_io.json_of_string ~allow_comments:true s