Generating Pretty Printers
The Pretty.make
function is designed for creating pretty printers that output a formatted string representation of values according to a given schema.
Example
Customizing Pretty Printer Generation
You can tailor the output of the pretty printer by using the pretty
annotation within your schema definitions.
Example
In this setup, the pretty
annotation takes any type parameters provided (typeParameters
) and formats the value into a string.