Package com.fasterxml.jackson.annotation
Class JsonFormat.Features
- java.lang.Object
-
- com.fasterxml.jackson.annotation.JsonFormat.Features
-
- Enclosing class:
- JsonFormat
public static class JsonFormat.Features extends java.lang.Object
Helper class that encapsulates information equivalent toBoolean
valuedEnumMap
.- Since:
- 2.6
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonFormat.Features
construct(JsonFormat f)
static JsonFormat.Features
construct(JsonFormat.Feature[] enabled, JsonFormat.Feature[] disabled)
static JsonFormat.Features
empty()
boolean
equals(java.lang.Object o)
java.lang.Boolean
get(JsonFormat.Feature f)
int
hashCode()
java.lang.String
toString()
JsonFormat.Features
with(JsonFormat.Feature... features)
JsonFormat.Features
without(JsonFormat.Feature... features)
JsonFormat.Features
withOverrides(JsonFormat.Features overrides)
-
-
-
Method Detail
-
empty
public static JsonFormat.Features empty()
-
construct
public static JsonFormat.Features construct(JsonFormat f)
-
construct
public static JsonFormat.Features construct(JsonFormat.Feature[] enabled, JsonFormat.Feature[] disabled)
-
withOverrides
public JsonFormat.Features withOverrides(JsonFormat.Features overrides)
-
with
public JsonFormat.Features with(JsonFormat.Feature... features)
-
without
public JsonFormat.Features without(JsonFormat.Feature... features)
-
get
public java.lang.Boolean get(JsonFormat.Feature f)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-