Pretty printers for encodings
Context
This MR aims to add pretty printers for several types in data-encoding:
- Json.t
- Encoding.t
- the values described by the encodings
Manually testing the MR
I wrote expect_tests that can be run with dune runtest
.
Checklist
The pretty-printer for Json.t is in the JSON.ml
file.
The pretty-printers for encodings and values are in the encoding.ml
file
-
to_string
for encodings -
value_to_string
for values
Edited by Laure Runser