Home
last modified time | relevance | path

Searched refs:serializedValueFor (Results 1 – 4 of 4) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DEnumValuesTest.java33 assertEquals("A", values.serializedValueFor(ABC.A).toString()); in testConstructFromName()
34 assertEquals("B", values.serializedValueFor(ABC.B).toString()); in testConstructFromName()
35 assertEquals("C", values.serializedValueFor(ABC.C).toString()); in testConstructFromName()
46 assertEquals("A", values.serializedValueFor(ABC.A).toString()); in testConstructWithToString()
47 assertEquals("b", values.serializedValueFor(ABC.B).toString()); in testConstructWithToString()
48 assertEquals("C", values.serializedValueFor(ABC.C).toString()); in testConstructWithToString()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DEnumValues.java99 public SerializableString serializedValueFor(Enum<?> key) { in serializedValueFor() method in EnumValues
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DEnumSerializer.java131 gen.writeString(_values.serializedValueFor(en)); in serialize()
DStdKeySerializers.java304 g.writeFieldName(_values.serializedValueFor(en)); in serialize()