JsonBuilder
JSON serializer builder
warning
This page is a WIP. It contains all the information in Figura's documentation but we're working on adding more helpful descriptions.
build()
Builds serializer with current settings
build()
Returns:
Type | Description |
---|---|
JsonSerializer | - |
Example:
-- example coming soon
Fields
prettyPrinting
Should serializer apply indentation for objects and arrays. Default - false
Example:
-- example coming soon
htmlEscaping
Should serializer escape non ASCII characters. Default - true
Example:
-- example coming soon
serializeNils
Should serializer serialize nils that are put on JSON objects and arrays. Default - false
Example:
-- example coming soon