Ether Framework
Unified API docs for Ether modules
Loading...
Searching...
No Matches
dev.rafex.ether.json.JsonCodecBuilder Class Reference
Collaboration diagram for dev.rafex.ether.json.JsonCodecBuilder:

Public Member Functions

JacksonJsonCodec build ()
JsonCodecBuilder configure (final Consumer< ObjectMapper > customizer)
JsonCodecBuilder failOnUnknownProperties (final boolean enabled)
JsonCodecBuilder include (final JsonInclude.Include include)
JsonCodecBuilder namingStrategy (final PropertyNamingStrategy strategy)
JsonCodecBuilder prettyPrint (final boolean enabled)
JsonCodecBuilder registerModule (final Module module)
JsonCodecBuilder writeDatesAsTimestamps (final boolean enabled)

Static Public Member Functions

static JsonCodecBuilder create ()
static JsonCodecBuilder lenient ()
static JsonCodecBuilder strict ()

Detailed Description

Definition at line 39 of file JsonCodecBuilder.java.

Member Function Documentation

◆ build()

JacksonJsonCodec dev.rafex.ether.json.JsonCodecBuilder.build ( )

Definition at line 94 of file JsonCodecBuilder.java.

Referenced by dev.rafex.ether.json.JsonUtils.codec(), and dev.rafex.ether.json.JacksonJsonCodec.defaultCodec().

Here is the caller graph for this function:

◆ configure()

JsonCodecBuilder dev.rafex.ether.json.JsonCodecBuilder.configure ( final Consumer< ObjectMapper > customizer)

Definition at line 59 of file JsonCodecBuilder.java.

Referenced by failOnUnknownProperties(), prettyPrint(), and writeDatesAsTimestamps().

Here is the caller graph for this function:

◆ create()

JsonCodecBuilder dev.rafex.ether.json.JsonCodecBuilder.create ( )
static

Definition at line 47 of file JsonCodecBuilder.java.

References dev.rafex.ether.json.JacksonJsonCodec.defaultMapper().

Referenced by dev.rafex.ether.json.JacksonJsonCodec.defaultCodec(), lenient(), and strict().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ failOnUnknownProperties()

JsonCodecBuilder dev.rafex.ether.json.JsonCodecBuilder.failOnUnknownProperties ( final boolean enabled)

Definition at line 64 of file JsonCodecBuilder.java.

References configure().

Referenced by lenient(), and strict().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ include()

JsonCodecBuilder dev.rafex.ether.json.JsonCodecBuilder.include ( final JsonInclude.Include include)

Definition at line 84 of file JsonCodecBuilder.java.

References include().

Referenced by include().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lenient()

JsonCodecBuilder dev.rafex.ether.json.JsonCodecBuilder.lenient ( )
static

Definition at line 55 of file JsonCodecBuilder.java.

References create(), and failOnUnknownProperties().

Here is the call graph for this function:

◆ namingStrategy()

JsonCodecBuilder dev.rafex.ether.json.JsonCodecBuilder.namingStrategy ( final PropertyNamingStrategy strategy)

Definition at line 79 of file JsonCodecBuilder.java.

◆ prettyPrint()

JsonCodecBuilder dev.rafex.ether.json.JsonCodecBuilder.prettyPrint ( final boolean enabled)

Definition at line 74 of file JsonCodecBuilder.java.

References configure().

Here is the call graph for this function:

◆ registerModule()

JsonCodecBuilder dev.rafex.ether.json.JsonCodecBuilder.registerModule ( final Module module)

Definition at line 89 of file JsonCodecBuilder.java.

References registerModule().

Referenced by registerModule().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ strict()

JsonCodecBuilder dev.rafex.ether.json.JsonCodecBuilder.strict ( )
static

Definition at line 51 of file JsonCodecBuilder.java.

References create(), and failOnUnknownProperties().

Here is the call graph for this function:

◆ writeDatesAsTimestamps()

JsonCodecBuilder dev.rafex.ether.json.JsonCodecBuilder.writeDatesAsTimestamps ( final boolean enabled)

Definition at line 69 of file JsonCodecBuilder.java.

References configure().

Here is the call graph for this function:

The documentation for this class was generated from the following file: