the fields currently in this builder
Returns a JSONFormat
for objects of a type using the current list of fields defined and custom transformations.
Returns a JSONFormat
for objects of a type using the current list of fields defined and custom transformations.
the type of objects for which a JSONFormat
is to be returned
a function transforming the JSON content before reads
a function converting the list of fields to an instance of A
a function extracting the list of fields from an instance of A
a function transforming the JSON content after writes
a function to catch and possibly recover from errors
a JSONFormat
for objects of type A
.
Returns a JSONReader
for objects of a type using the current list of fields defined and custom transformations.
Returns a JSONReader
for objects of a type using the current list of fields defined and custom transformations.
the type of objects for which a JSONFormat
is to be returned
a function transforming the JSON content before reads
a function converting the list of fields to an instance of A
a function to catch and possibly recover from errors
a JSONReader
for objects of type A
.
Returns a JSONWriter
for objects of a type using the current list of fields defined and custom transformations.
Returns a JSONWriter
for objects of a type using the current list of fields defined and custom transformations.
the type of objects for which a JSONFormat
is to be returned
a function extracting the list of fields from an instance of A
a function transforming the JSON content after writes
a JSONWriter
for objects of type A
.
Adds a field to this builder.
Adds a field to this builder.
the type of the new field
the name of the new field
the default value of the new field
a JSONFormat
to use in the new field
a new instance of JsonFormatBuilder
with the new field
Adds a field to this builder.
Adds a field to this builder.
the type of the new field
the name of the new field
the default value of the new field
a new instance of JsonFormatBuilder
with the new field
Adds a field to this builder.
Adds a field to this builder.
the type of the new field
the name of the new field
a new instance of JsonFormatBuilder
with the new field
the fields currently in this builder
Returns a JSONFormat
for objects of a type using the current list of fields defined.
Returns a JSONFormat
for objects of a type using the current list of fields defined.
the type of objects for which a JSONFormat
is to be returned
a function converting the list of fields to an instance of A
a function extracting the list of fields from an instance of A
a JSONFormat
for objects of type A
.
Returns a JSONReader
for objects of a type using the current list of fields defined.
Returns a JSONReader
for objects of a type using the current list of fields defined.
the type of objects for which a JSONFormat
is to be returned
a function converting the list of fields to an instance of A
a JSONFormat
for objects of type A
.
Returns a JSONWriter
for objects of a type using the current list of fields defined.
Returns a JSONWriter
for objects of a type using the current list of fields defined.
the type of objects for which a JSONFormat
is to be returned
a function extracting the list of fields from an instance of A
a JSONFormat
for objects of type A
.
Adds an optional field to this builder which defaults to None
.
Adds an optional field to this builder which defaults to None
.
the type of the new field
the name of the new field
a JSONFormat
to use in the new field
a new instance of JsonFormatBuilder
with the new field
Adds an optional field to this builder which defaults to None
.
Adds an optional field to this builder which defaults to None
.
the type of the new field
the name of the new field
a new instance of JsonFormatBuilder
with the new field
Removes a field in this builder.
Removes a field in this builder.
the index of the field to remove
a new instance of JsonFormatBuilder
with the field removed
Replaces a field in this builder with another one.
Replaces a field in this builder with another one.
the index of the field to replace
the type of the new field
the name of the new field
the default value of the new field
a JSONFormat
to use in the new field
a new instance of JsonFormatBuilder
with the field replaced
Replaces a field in this builder with another one.
Replaces a field in this builder with another one.
the index of the field to replace
the type of the new field
the name of the new field
the default value of the new field
a new instance of JsonFormatBuilder
with the field replaced
Replaces a field in this builder with another one.
Replaces a field in this builder with another one.
the index of the field to replace
the type of the new field
the name of the new field
a new instance of JsonFormatBuilder
with the field replaced
A type-safe way to construct a
JSONFormat
by incrementally adding, removing or updating fields.the type of the
HList
of fields currently in this builderthe type of the
HList
of field definitions currently in this builderthe fields currently in this builder