Declarative JSON data manipulation for OCaml
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-json: hide Json_base as a private module

Json_base exposed low-level implementation tools (Rarray, Rbigarray1,
Type.Id polyfill, a mini Fmt, Number range predicates, a duplicate of
Json.Sort) even though nothing outside json.ml referenced it. Mark it
(private_modules json_base) so it stays a compile-time helper without
leaking into the public surface.

The user-facing re-export module Sort = Json_base.Sort in json.ml
keeps working: users see Json.Sort as documented in json.mli.

+1
+1
lib/dune
··· 2 2 (name json) 3 3 (public_name json) 4 4 (modules json json_base) 5 + (private_modules json_base) 5 6 (libraries 6 7 (re_export loc)))