/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/ |
D | CoercionConfigs.java | 9 import com.fasterxml.jackson.databind.type.LogicalType; 19 private final static int TARGET_TYPE_COUNT = LogicalType.values().length; 119 public MutableCoercionConfig findOrCreateCoercion(LogicalType type) { in findOrCreateCoercion() 162 LogicalType targetType, in findCoercion() 200 && (targetType == LogicalType.Integer)) { in findCoercion() 208 final boolean baseScalar = (targetType == LogicalType.Float) in findCoercion() 209 || (targetType == LogicalType.Integer) in findCoercion() 210 || (targetType == LogicalType.Boolean) in findCoercion() 211 || (targetType == LogicalType.DateTime); in findCoercion() 230 if (targetType == LogicalType.OtherScalar) { in findCoercion() [all …]
|
D | CoercionAction.java | 3 import com.fasterxml.jackson.databind.type.LogicalType;
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/ |
D | LogicalType.java | 11 public enum LogicalType enum 113 public static LogicalType fromClass(Class<?> raw, in fromClass() 114 LogicalType defaultIfNotRecognized) in fromClass()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/ |
D | NumberDeserializers.java | 15 import com.fasterxml.jackson.databind.type.LogicalType; 133 protected final LogicalType _logicalType; 143 protected PrimitiveOrWrapperDeserializer(Class<T> vc, LogicalType logicalType, in PrimitiveOrWrapperDeserializer() 154 this(vc, LogicalType.OtherScalar, nvl, empty); in PrimitiveOrWrapperDeserializer() 188 public final LogicalType logicalType() { in logicalType() 210 super(cls, LogicalType.Boolean, nvl, Boolean.FALSE); in BooleanDeserializer() 261 super(cls, LogicalType.Integer, nvl, (byte) 0); in ByteDeserializer() 349 super(cls, LogicalType.Integer, nvl, (short)0); in ShortDeserializer() 437 LogicalType.Integer, nvl, '\0'); in CharacterDeserializer() 514 super(cls, LogicalType.Integer, nvl, 0); in IntegerDeserializer() [all …]
|
D | TokenBufferDeserializer.java | 9 import com.fasterxml.jackson.databind.type.LogicalType; 31 public LogicalType logicalType() { in logicalType() 32 return LogicalType.Untyped; in logicalType()
|
D | ByteBufferDeserializer.java | 8 import com.fasterxml.jackson.databind.type.LogicalType; 18 public LogicalType logicalType() { in logicalType() 19 return LogicalType.Binary; in logicalType()
|
D | AtomicBooleanDeserializer.java | 10 import com.fasterxml.jackson.databind.type.LogicalType; 34 public LogicalType logicalType() { return LogicalType.Boolean; } in logicalType()
|
D | StdScalarDeserializer.java | 8 import com.fasterxml.jackson.databind.type.LogicalType; 32 public LogicalType logicalType() { in logicalType() 33 return LogicalType.OtherScalar; in logicalType()
|
D | StringDeserializer.java | 9 import com.fasterxml.jackson.databind.type.LogicalType; 24 public LogicalType logicalType() { in logicalType() 25 return LogicalType.Textual; in logicalType()
|
D | FromStringDeserializer.java | 21 import com.fasterxml.jackson.databind.type.LogicalType; 129 public LogicalType logicalType() { in logicalType() 130 return LogicalType.OtherScalar; in logicalType() 410 public LogicalType logicalType() { in logicalType() 411 return LogicalType.Textual; in logicalType()
|
D | StdDeserializer.java | 27 import com.fasterxml.jackson.databind.type.LogicalType; 287 if (ctxt.findCoercionAction(LogicalType.Integer, Integer.class, in _deserializeFromString() 293 if (ctxt.findCoercionAction(LogicalType.Integer, Long.class, in _deserializeFromString() 300 if (ctxt.findCoercionAction(LogicalType.Boolean, Boolean.class, in _deserializeFromString() 423 LogicalType.Boolean, Boolean.TYPE); in _parseBooleanPrimitive() 524 LogicalType.Boolean, targetType); in _parseBoolean() 593 LogicalType.Integer, Byte.TYPE); in _parseBytePrimitive() 660 LogicalType.Integer, Short.TYPE); in _parseShortPrimitive() 725 LogicalType.Integer, Integer.TYPE); in _parseIntPrimitive() 803 LogicalType.Integer, Long.TYPE); in _parseLongPrimitive() [all …]
|
D | MapEntryDeserializer.java | 11 import com.fasterxml.jackson.databind.type.LogicalType; 108 public LogicalType logicalType() { in logicalType() 110 return LogicalType.Map; in logicalType()
|
D | EnumSetDeserializer.java | 13 import com.fasterxml.jackson.databind.type.LogicalType; 145 public LogicalType logicalType() { in logicalType() 146 return LogicalType.Collection; in logicalType()
|
D | FactoryBasedEnumDeserializer.java | 17 import com.fasterxml.jackson.databind.type.LogicalType; 104 public LogicalType logicalType() { in logicalType() 105 return LogicalType.Enum; in logicalType()
|
D | EnumDeserializer.java | 15 import com.fasterxml.jackson.databind.type.LogicalType; 169 public LogicalType logicalType() { in logicalType() 170 return LogicalType.Enum; in logicalType()
|
D | DelegatingDeserializer.java | 11 import com.fasterxml.jackson.databind.type.LogicalType; 157 public LogicalType logicalType() { in logicalType()
|
D | StringCollectionDeserializer.java | 15 import com.fasterxml.jackson.databind.type.LogicalType; 96 public LogicalType logicalType() { in logicalType() 97 return LogicalType.Collection; in logicalType()
|
D | StringArrayDeserializer.java | 13 import com.fasterxml.jackson.databind.type.LogicalType; 80 public LogicalType logicalType() { in logicalType() 81 return LogicalType.Array; in logicalType()
|
D | StdDelegatingDeserializer.java | 11 import com.fasterxml.jackson.databind.type.LogicalType; 157 public LogicalType logicalType() { in logicalType()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/ |
D | CoercePojosTest.java | 8 import com.fasterxml.jackson.databind.type.LogicalType; 115 mapper.coercionConfigFor(LogicalType.POJO).setCoercion(shape, CoercionAction.AsNull) in _testPOJOFromEmptyLogicalTypeConfig() 121 mapper.coercionConfigFor(LogicalType.POJO).setCoercion(shape, CoercionAction.AsEmpty) in _testPOJOFromEmptyLogicalTypeConfig() 130 mapper.coercionConfigFor(LogicalType.POJO).setCoercion(shape, in _testPOJOFromEmptyLogicalTypeConfig() 156 mapper.coercionConfigFor(LogicalType.POJO).setCoercion(shape, CoercionAction.AsEmpty) in _testPOJOFromEmptyPhysicalTypeConfig()
|
D | CoerceToBooleanTest.java | 16 import com.fasterxml.jackson.databind.type.LogicalType; 32 MAPPER_TO_EMPTY.coercionConfigFor(LogicalType.Boolean) 38 MAPPER_TRY_CONVERT.coercionConfigFor(LogicalType.Boolean) 44 MAPPER_TO_NULL.coercionConfigFor(LogicalType.Boolean) 50 MAPPER_TO_FAIL.coercionConfigFor(LogicalType.Boolean)
|
D | CoerceFloatToIntTest.java | 9 import com.fasterxml.jackson.databind.type.LogicalType; 19 MAPPER_TO_EMPTY.coercionConfigFor(LogicalType.Integer) 25 MAPPER_TRY_CONVERT.coercionConfigFor(LogicalType.Integer) 31 MAPPER_TO_NULL.coercionConfigFor(LogicalType.Integer) 37 MAPPER_TO_FAIL.coercionConfigFor(LogicalType.Integer)
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/ |
D | TypeWrappedDeserializer.java | 9 import com.fasterxml.jackson.databind.type.LogicalType; 37 public LogicalType logicalType() { in logicalType()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | JsonDeserializer.java | 11 import com.fasterxml.jackson.databind.type.LogicalType; 237 public LogicalType logicalType() { return null; } in logicalType()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/ |
D | AbstractDeserializer.java | 19 import com.fasterxml.jackson.databind.type.LogicalType; 192 public LogicalType logicalType() { in logicalType() 195 return LogicalType.POJO; in logicalType()
|