Convert the name of a parameter to that of a field in a JSON object.
Convert the name of a parameter to that of a field in a JSON object. This method can be overriden to use alternative naming conventions.
Determines if None
instances of options should be included in JSON output.
Determines if None
instances of options should be included in JSON output.
By default, None
values are ommitted entirely from resulting JSON
objects. If overridden, they will be included as null
s instead.
Note that this has no effect in *reading* option types; undefined or null
values are always converted to None
.
Mixin that enables derivation of JSON formats for any product (case classes) or coproduct (sealed traits) types.