Modifier and Type | Method and Description |
---|---|
static JsonFormat.Value |
JsonFormat.Value.empty() |
static JsonFormat.Value |
JsonFormat.Value.forLeniency(boolean lenient) |
static JsonFormat.Value |
JsonFormat.Value.forPattern(String p) |
static JsonFormat.Value |
JsonFormat.Value.forShape(JsonFormat.Shape sh) |
static JsonFormat.Value |
JsonFormat.Value.from(JsonFormat ann) |
static JsonFormat.Value |
JsonFormat.Value.merge(JsonFormat.Value base,
JsonFormat.Value overrides)
Helper method that will try to combine values from two
JsonFormat.Value
instances, using one as base settings, and the other as overrides
to use instead of base values when defined; base values are only
use if override does not specify a value (matching value is null
or logically missing). |
static JsonFormat.Value |
JsonFormat.Value.mergeAll(JsonFormat.Value... values) |
JsonFormat.Value |
JsonFormat.Value.withFeature(JsonFormat.Feature f) |
JsonFormat.Value |
JsonFormat.Value.withLenient(Boolean lenient) |
JsonFormat.Value |
JsonFormat.Value.withLocale(Locale l) |
JsonFormat.Value |
JsonFormat.Value.withoutFeature(JsonFormat.Feature f) |
JsonFormat.Value |
JsonFormat.Value.withOverrides(JsonFormat.Value overrides) |
JsonFormat.Value |
JsonFormat.Value.withPattern(String p) |
JsonFormat.Value |
JsonFormat.Value.withShape(JsonFormat.Shape s) |
JsonFormat.Value |
JsonFormat.Value.withTimeZone(TimeZone tz) |
Modifier and Type | Method and Description |
---|---|
static JsonFormat.Value |
JsonFormat.Value.merge(JsonFormat.Value base,
JsonFormat.Value overrides)
Helper method that will try to combine values from two
JsonFormat.Value
instances, using one as base settings, and the other as overrides
to use instead of base values when defined; base values are only
use if override does not specify a value (matching value is null
or logically missing). |
static JsonFormat.Value |
JsonFormat.Value.mergeAll(JsonFormat.Value... values) |
JsonFormat.Value |
JsonFormat.Value.withOverrides(JsonFormat.Value overrides) |
Copyright © 2008–2020 FasterXML. All rights reserved.