JSONSerializerOptions

fm.serializer.json.JSONSerializerOptions
See theJSONSerializerOptions companion object
final case class JSONSerializerOptions(outputNulls: Boolean, outputFalse: Boolean, outputZeros: Boolean, prettyFormat: Boolean, indent: String)

Value parameters

indent

The indent to use for prettyFormat. Note: Not currently hooked up for Jackson

outputFalse

Write out boolean fields that are false

outputNulls

Write out fields with null values

outputZeros

Write out fields with numbers that are zero

prettyFormat

Use pretty formatting.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product