Returns a new instance of Tyson configured with the options currently set in this builder.
a Tyson instance
Configure Tyson to serialize null fields. By default, Tyson omits all fields that are null during serialization.
a reference to this TysonBuilder
This method register a new type adapter for a specific type. You can use this to configure Tyson for custom serialization or deserialization. If a type adapter was previously registered for the specified type, it is overwritten (even the built-in).
the type for the type adapter being registered
a reference to this TysonBuilder
Register a factory.
a reference to this TysonBuilder
Generated using TypeDoc
Use this builder to construct a Tyson instance when you need to set configuration options other than the default.
Here is an example:
TysonBuilder