JsonBuilder

JSON serializer builder

JsonBuilder.build

Builds serializer with current settings
overload 1:
JsonBuilder:build()
Method Property Fluent Description Representation
Return Value a JsonSerializer

JsonBuilder.prettyPrinting

Should serializer apply indentation for objects and arrays. Default - false
field signature:
prettyPrinting
Method Property Fluent Description Representation
Field Type a Boolean

JsonBuilder.htmlEscaping

Should serializer escape non ASCII characters. Default - true
field signature:
htmlEscaping
Method Property Fluent Description Representation
Field Type a Boolean

JsonBuilder.serializeNils

Should serializer serialize nils that are put on JSON objects and arrays. Default - false
field signature:
serializeNils
Method Property Fluent Description Representation
Field Type a Boolean
a a