Home
last modified time | relevance | path

Searched refs:JsonDeserializer (Results 1 – 25 of 114) sorted by relevance

12345

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DDeserializers.java32 public JsonDeserializer<?> findEnumDeserializer(Class<?> type, in findEnumDeserializer()
45 public JsonDeserializer<?> findTreeNodeDeserializer(Class<? extends JsonNode> nodeType, in findTreeNodeDeserializer()
60 public JsonDeserializer<?> findBeanDeserializer(JavaType type, in findBeanDeserializer()
82 public JsonDeserializer<?> findReferenceDeserializer(ReferenceType refType, in findReferenceDeserializer()
84 TypeDeserializer contentTypeDeserializer, JsonDeserializer<?> contentDeserializer) in findReferenceDeserializer()
108 public JsonDeserializer<?> findArrayDeserializer(ArrayType type, in findArrayDeserializer()
110 TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer) in findArrayDeserializer()
135 public JsonDeserializer<?> findCollectionDeserializer(CollectionType type, in findCollectionDeserializer()
137 TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer) in findCollectionDeserializer()
163 public JsonDeserializer<?> findCollectionLikeDeserializer(CollectionLikeType type, in findCollectionLikeDeserializer()
[all …]
DBeanDeserializerModifier.java92 public JsonDeserializer<?> modifyDeserializer(DeserializationConfig config, in modifyDeserializer()
93 BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyDeserializer()
109 public JsonDeserializer<?> modifyEnumDeserializer(DeserializationConfig config, in modifyEnumDeserializer()
110 JavaType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyEnumDeserializer()
120 public JsonDeserializer<?> modifyReferenceDeserializer(DeserializationConfig config, in modifyReferenceDeserializer()
121 ReferenceType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyReferenceDeserializer()
142 public JsonDeserializer<?> modifyArrayDeserializer(DeserializationConfig config, in modifyArrayDeserializer()
143 ArrayType valueType, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyArrayDeserializer()
153 public JsonDeserializer<?> modifyCollectionDeserializer(DeserializationConfig config, in modifyCollectionDeserializer()
154 CollectionType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyCollectionDeserializer()
[all …]
DDeserializerCache.java37 final protected LRUMap<JavaType, JsonDeserializer<Object>> _cachedDeserializers;
44 final protected HashMap<JavaType, JsonDeserializer<Object>> _incompleteDeserializers
45 = new HashMap<JavaType, JsonDeserializer<Object>>(8);
135 public JsonDeserializer<Object> findValueDeserializer(DeserializationContext ctxt, in findValueDeserializer()
139 JsonDeserializer<Object> deser = _findCachedDeserializer(propertyType); in findValueDeserializer()
189 JsonDeserializer<Object> deser = _findCachedDeserializer(type); in hasValueDeserializerFor()
202 protected JsonDeserializer<Object> _findCachedDeserializer(JavaType type) in _findCachedDeserializer()
220 protected JsonDeserializer<Object> _createAndCacheValueDeserializer(DeserializationContext ctxt, in _createAndCacheValueDeserializer()
230 JsonDeserializer<Object> deser = _findCachedDeserializer(type); in _createAndCacheValueDeserializer()
258 protected JsonDeserializer<Object> _createAndCache2(DeserializationContext ctxt, in _createAndCache2()
[all …]
DDeserializerFactory.java116 public abstract JsonDeserializer<Object> createBeanDeserializer(DeserializationContext ctxt, in createBeanDeserializer()
124 public abstract JsonDeserializer<Object> createBuilderBasedDeserializer( in createBuilderBasedDeserializer()
130 public abstract JsonDeserializer<?> createEnumDeserializer(DeserializationContext ctxt, in createEnumDeserializer()
137 public abstract JsonDeserializer<?> createReferenceDeserializer(DeserializationContext ctxt, in createReferenceDeserializer()
145 public abstract JsonDeserializer<?> createTreeDeserializer(DeserializationConfig config, in createTreeDeserializer()
156 public abstract JsonDeserializer<?> createArrayDeserializer(DeserializationContext ctxt, in createArrayDeserializer()
160 public abstract JsonDeserializer<?> createCollectionDeserializer(DeserializationContext ctxt, in createCollectionDeserializer()
164 … public abstract JsonDeserializer<?> createCollectionLikeDeserializer(DeserializationContext ctxt, in createCollectionLikeDeserializer()
168 public abstract JsonDeserializer<?> createMapDeserializer(DeserializationContext ctxt, in createMapDeserializer()
172 public abstract JsonDeserializer<?> createMapLikeDeserializer(DeserializationContext ctxt, in createMapLikeDeserializer()
DBasicDeserializerFactory.java1027 JsonDeserializer<?> deser = findDeserializerFromAnnotation(ctxt, param); in constructCreatorProperty()
1123 public JsonDeserializer<?> createArrayDeserializer(DeserializationContext ctxt, in createArrayDeserializer()
1131 JsonDeserializer<Object> contentDeser = elemType.getValueHandler(); in createArrayDeserializer()
1139 JsonDeserializer<?> deser = _findCustomArrayDeserializer(type, in createArrayDeserializer()
1169 public JsonDeserializer<?> createCollectionDeserializer(DeserializationContext ctxt, in createCollectionDeserializer()
1175 JsonDeserializer<Object> contentDeser = contentType.getValueHandler(); in createCollectionDeserializer()
1185 JsonDeserializer<?> deser = _findCustomCollectionDeserializer(type, in createCollectionDeserializer()
1264 public JsonDeserializer<?> createCollectionLikeDeserializer(DeserializationContext ctxt, in createCollectionLikeDeserializer()
1270 JsonDeserializer<Object> contentDeser = contentType.getValueHandler(); in createCollectionLikeDeserializer()
1279 JsonDeserializer<?> deser = _findCustomCollectionLikeDeserializer(type, config, beanDesc, in createCollectionLikeDeserializer()
[all …]
DBeanDeserializerFactory.java93 public JsonDeserializer<Object> createBeanDeserializer(DeserializationContext ctxt, in createBeanDeserializer()
99 JsonDeserializer<?> deser = _findCustomBeanDeserializer(type, config, beanDesc); in createBeanDeserializer()
107 return (JsonDeserializer<Object>) deser; in createBeanDeserializer()
132 return (JsonDeserializer<Object>)deser; in createBeanDeserializer()
146 return (JsonDeserializer<Object>)deser; in createBeanDeserializer()
154 public JsonDeserializer<Object> createBuilderBasedDeserializer( in createBuilderBasedDeserializer()
174 protected JsonDeserializer<?> findStdDeserializer(DeserializationContext ctxt, in findStdDeserializer()
180 JsonDeserializer<?> deser = findDefaultDeserializer(ctxt, type, beanDesc); in findStdDeserializer()
201 protected JsonDeserializer<Object> _findUnsupportedTypeDeserializer(DeserializationContext ctxt, in _findUnsupportedTypeDeserializer()
241 public JsonDeserializer<Object> buildBeanDeserializer(DeserializationContext ctxt, in buildBeanDeserializer()
[all …]
DBeanDeserializerBase.java70 protected JsonDeserializer<Object> _delegateDeserializer;
76 protected JsonDeserializer<Object> _arrayDelegateDeserializer;
174 protected transient HashMap<ClassKey, JsonDeserializer<Object>> _subDeserializers;
432 public abstract JsonDeserializer<Object> unwrappingDeserializer(NameTransformer unwrapper); in unwrappingDeserializer()
522 JsonDeserializer<?> deser = findConvertingDeserializer(ctxt, prop); in resolve()
534 JsonDeserializer<?> deser = prop.getValueDeserializer(); in resolve()
547 JsonDeserializer<Object> orig = prop.getValueDeserializer(); in resolve()
548 JsonDeserializer<Object> unwrapping = orig.unwrappingDeserializer(xform); in resolve()
672 private JsonDeserializer<Object> _findDelegateDeserializer(DeserializationContext ctxt, in _findDelegateDeserializer()
685 JsonDeserializer<Object> dd = delegateType.getValueHandler(); in _findDelegateDeserializer()
[all …]
DDefaultDeserializationContext.java207 public JsonDeserializer<Object> deserializerInstance(Annotated ann, Object deserDef) in deserializerInstance()
213 JsonDeserializer<?> deser; in deserializerInstance()
215 if (deserDef instanceof JsonDeserializer) { in deserializerInstance()
216 deser = (JsonDeserializer<?>) deserDef; in deserializerInstance()
225 if (deserClass == JsonDeserializer.None.class || ClassUtil.isBogusClass(deserClass)) { in deserializerInstance()
228 if (!JsonDeserializer.class.isAssignableFrom(deserClass)) { in deserializerInstance()
234 deser = (JsonDeserializer<?>) ClassUtil.createInstance(deserClass, in deserializerInstance()
242 return (JsonDeserializer<Object>) deser; in deserializerInstance()
315 JsonDeserializer<Object> deser, Object valueToUpdate) in readRootValue()
328 JavaType rootType, JsonDeserializer<Object> deser, in _unwrapAndDeserialize()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/module/
DSimpleDeserializers.java26 protected HashMap<ClassKey,JsonDeserializer<?>> _classMappings = null;
46 public SimpleDeserializers(Map<Class<?>,JsonDeserializer<?>> desers) { in SimpleDeserializers()
50 public <T> void addDeserializer(Class<T> forClass, JsonDeserializer<? extends T> deser) in addDeserializer()
54 _classMappings = new HashMap<ClassKey,JsonDeserializer<?>>(); in addDeserializer()
67 public void addDeserializers(Map<Class<?>,JsonDeserializer<?>> desers) in addDeserializers()
69 for (Map.Entry<Class<?>,JsonDeserializer<?>> entry : desers.entrySet()) { in addDeserializers()
72 JsonDeserializer<Object> deser = (JsonDeserializer<Object>) entry.getValue(); in addDeserializers()
84 public JsonDeserializer<?> findArrayDeserializer(ArrayType type, in findArrayDeserializer()
86 TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer) in findArrayDeserializer()
93 public JsonDeserializer<?> findBeanDeserializer(JavaType type, in findBeanDeserializer()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestBeanDeserializer.java71 private final JsonDeserializer<?> _deserializer;
73 public ReplacingModifier(JsonDeserializer<?> s) { _deserializer = s; } in ReplacingModifier()
76 public JsonDeserializer<?> modifyDeserializer(DeserializationConfig config, in modifyDeserializer()
77 BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyDeserializer()
82 static class BogusBeanDeserializer extends JsonDeserializer<Object>
114 public JsonDeserializer<?> createContextual(DeserializationContext ctxt, in createContextual()
122 public JsonDeserializer<?> modifyDeserializer(DeserializationConfig config, in modifyDeserializer()
123 BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyDeserializer()
160 public static class Issue1912CustomBeanDeserializer extends JsonDeserializer<Issue1912Bean> {
181 …public static class Issue1912CustomPropertyDeserializer extends JsonDeserializer<Issue1912SubBean>…
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DStringCollectionDeserializer.java35 protected final JsonDeserializer<String> _valueDeserializer;
48 protected final JsonDeserializer<Object> _delegateDeserializer;
59 JsonDeserializer<?> valueDeser, ValueInstantiator valueInstantiator) in StringCollectionDeserializer()
66 ValueInstantiator valueInstantiator, JsonDeserializer<?> delegateDeser, in StringCollectionDeserializer()
67 JsonDeserializer<?> valueDeser, in StringCollectionDeserializer()
71 _valueDeserializer = (JsonDeserializer<String>) valueDeser; in StringCollectionDeserializer()
73 _delegateDeserializer = (JsonDeserializer<Object>) delegateDeser; in StringCollectionDeserializer()
76 protected StringCollectionDeserializer withResolved(JsonDeserializer<?> delegateDeser, in withResolved()
77 JsonDeserializer<?> valueDeser, in withResolved()
106 public JsonDeserializer<?> createContextual(DeserializationContext ctxt, in createContextual()
[all …]
DDelegatingDeserializer.java28 protected final JsonDeserializer<?> _delegatee;
36 public DelegatingDeserializer(JsonDeserializer<?> d) in DelegatingDeserializer()
48 protected abstract JsonDeserializer<?> newDelegatingInstance(JsonDeserializer<?> newDelegatee); in newDelegatingInstance()
64 public JsonDeserializer<?> createContextual(DeserializationContext ctxt, in createContextual()
69 JsonDeserializer<?> del = ctxt.handleSecondaryContextualization(_delegatee, in createContextual()
78 public JsonDeserializer<?> replaceDelegatee(JsonDeserializer<?> delegatee) in replaceDelegatee()
105 return ((JsonDeserializer<Object>)_delegatee).deserialize(p, ctxt, intoValue); in deserialize()
131 public JsonDeserializer<?> getDelegatee() { in getDelegatee()
DArrayBlockingQueueDeserializer.java30 JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, in ArrayBlockingQueueDeserializer()
40 JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, in ArrayBlockingQueueDeserializer()
42 JsonDeserializer<Object> delegateDeser, in ArrayBlockingQueueDeserializer()
62 protected ArrayBlockingQueueDeserializer withResolved(JsonDeserializer<?> dd, in withResolved()
63 JsonDeserializer<?> vd, TypeDeserializer vtd, in withResolved()
67 (JsonDeserializer<Object>) vd, vtd, in withResolved()
68 _valueInstantiator, (JsonDeserializer<Object>) dd, in withResolved()
DEnumSetDeserializer.java31 protected JsonDeserializer<Enum<?>> _enumDeserializer;
64 public EnumSetDeserializer(JavaType enumType, JsonDeserializer<?> deser) in EnumSetDeserializer()
72 _enumDeserializer = (JsonDeserializer<Enum<?>>) deser; in EnumSetDeserializer()
84 JsonDeserializer<?> deser, Boolean unwrapSingle) { in EnumSetDeserializer()
93 JsonDeserializer<?> deser, NullValueProvider nuller, Boolean unwrapSingle) { in EnumSetDeserializer()
96 _enumDeserializer = (JsonDeserializer<Enum<?>>) deser; in EnumSetDeserializer()
102 public EnumSetDeserializer withDeserializer(JsonDeserializer<?> deser) { in withDeserializer()
110 public EnumSetDeserializer withResolved(JsonDeserializer<?> deser, Boolean unwrapSingle) { in withResolved()
117 public EnumSetDeserializer withResolved(JsonDeserializer<?> deser, NullValueProvider nuller, in withResolved()
171 public JsonDeserializer<?> createContextual(DeserializationContext ctxt, in createContextual()
[all …]
DMapEntryDeserializer.java41 protected final JsonDeserializer<Object> _valueDeserializer;
56 KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, in MapEntryDeserializer()
81 KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, in MapEntryDeserializer()
96 TypeDeserializer valueTypeDeser, JsonDeserializer<?> valueDeser) in withResolved()
104 keyDeser, (JsonDeserializer<Object>) valueDeser, valueTypeDeser); in withResolved()
124 public JsonDeserializer<?> createContextual(DeserializationContext ctxt, in createContextual()
135 JsonDeserializer<?> vd = _valueDeserializer; in createContextual()
162 public JsonDeserializer<Object> getContentDeserializer() { in getContentDeserializer()
199 final JsonDeserializer<Object> valueDes = _valueDeserializer; in deserialize()
DCollectionDeserializer.java40 protected final JsonDeserializer<Object> _valueDeserializer;
56 protected final JsonDeserializer<Object> _delegateDeserializer;
71 JsonDeserializer<Object> valueDeser, in CollectionDeserializer()
83 JsonDeserializer<Object> valueDeser, TypeDeserializer valueTypeDeser, in CollectionDeserializer()
84 ValueInstantiator valueInstantiator, JsonDeserializer<Object> delegateDeser, in CollectionDeserializer()
113 protected CollectionDeserializer withResolved(JsonDeserializer<?> dd, in withResolved()
114 JsonDeserializer<?> vd, TypeDeserializer vtd, in withResolved()
118 (JsonDeserializer<Object>) vd, vtd, in withResolved()
119 _valueInstantiator, (JsonDeserializer<Object>) dd, in withResolved()
154 JsonDeserializer<Object> delegateDeser = null; in createContextual()
[all …]
DStdDelegatingDeserializer.java55 protected final JsonDeserializer<Object> _delegateDeserializer;
74 JavaType delegateType, JsonDeserializer<?> delegateDeserializer) in StdDelegatingDeserializer()
79 _delegateDeserializer = (JsonDeserializer<Object>) delegateDeserializer; in StdDelegatingDeserializer()
98 JavaType delegateType, JsonDeserializer<?> delegateDeserializer) in withDelegate()
122 public JsonDeserializer<?> createContextual(DeserializationContext ctxt, BeanProperty property) in createContextual()
127 JsonDeserializer<?> deser = ctxt.handleSecondaryContextualization(_delegateDeserializer, in createContextual()
147 public JsonDeserializer<?> getDelegatee() { in getDelegatee()
DEnumMapDeserializer.java36 protected JsonDeserializer<Object> _valueDeserializer;
55 protected JsonDeserializer<Object> _delegateDeserializer;
75 KeyDeserializer keyDeser, JsonDeserializer<?> valueDeser, TypeDeserializer vtd, in EnumMapDeserializer()
81 _valueDeserializer = (JsonDeserializer<Object>) valueDeser; in EnumMapDeserializer()
90 KeyDeserializer keyDeser, JsonDeserializer<?> valueDeser, TypeDeserializer vtd, in EnumMapDeserializer()
96 _valueDeserializer = (JsonDeserializer<Object>) valueDeser; in EnumMapDeserializer()
106 JsonDeserializer<?> valueDeser, TypeDeserializer vtd) in EnumMapDeserializer()
112 JsonDeserializer<?> valueDeserializer, TypeDeserializer valueTypeDeser, in withResolved()
169 …public JsonDeserializer<?> createContextual(DeserializationContext ctxt, BeanProperty property) th… in createContextual()
178 JsonDeserializer<?> valueDeser = _valueDeserializer; in createContextual()
[all …]
DReferenceTypeDeserializer.java38 protected final JsonDeserializer<Object> _valueDeserializer;
48 TypeDeserializer typeDeser, JsonDeserializer<?> deser) in ReferenceTypeDeserializer()
53 _valueDeserializer = (JsonDeserializer<Object>) deser; in ReferenceTypeDeserializer()
59 TypeDeserializer typeDeser, JsonDeserializer<?> deser) in ReferenceTypeDeserializer()
65 public JsonDeserializer<?> createContextual(DeserializationContext ctxt, BeanProperty property) in createContextual()
68 JsonDeserializer<?> deser = _valueDeserializer; in createContextual()
119 JsonDeserializer<?> valueDeser); in withResolved()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/annotation/
DJsonDeserialize.java8 import com.fasterxml.jackson.databind.JsonDeserializer;
55 public Class<? extends JsonDeserializer> using() in using()
56 default JsonDeserializer.None.class; in using()
65 public Class<? extends JsonDeserializer> contentUsing() in contentUsing()
66 default JsonDeserializer.None.class; in contentUsing()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DJsonDeserializer.java47 public abstract class JsonDeserializer<T> class
186 public JsonDeserializer<T> unwrappingDeserializer(NameTransformer unwrapper) { in unwrappingDeserializer()
199 public JsonDeserializer<?> replaceDelegatee(JsonDeserializer<?> delegatee) { in replaceDelegatee()
266 public JsonDeserializer<?> getDelegatee() { in getDelegatee()
454 public abstract static class None extends JsonDeserializer<Object> {
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DNodeContext2049Test.java64 public ParentSettingDeserializer(JsonDeserializer<?> delegatee) { in ParentSettingDeserializer()
90 protected JsonDeserializer<?> newDelegatingInstance(JsonDeserializer<?> newDelegatee) { in newDelegatingInstance()
96 …static class ParentSettingDeserializerContextual extends JsonDeserializer<Object> implements Conte…
99 … public JsonDeserializer<?> createContextual(DeserializationContext ctxt, BeanProperty property) in createContextual()
106JsonDeserializer<Object> delegatee = ctxt.findNonContextualValueDeserializer(contentType); in createContextual()
107 JsonDeserializer<Object> objectDeserializer = new ParentSettingDeserializer(delegatee); in createContextual()
108 JsonDeserializer<?> retValue; in createContextual()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/impl/
DObjectIdReader.java37 protected final JsonDeserializer<Object> _deserializer;
49 JsonDeserializer<?> deser, SettableBeanProperty idProp, ObjectIdResolver resolver) in ObjectIdReader()
55 _deserializer = (JsonDeserializer<Object>) deser; in ObjectIdReader()
65 ObjectIdGenerator<?> generator, JsonDeserializer<?> deser, in construct()
77 public JsonDeserializer<Object> getDeserializer() { in getDeserializer()
DTypeWrappedDeserializer.java20 extends JsonDeserializer<Object>
26 final protected JsonDeserializer<Object> _deserializer;
29 public TypeWrappedDeserializer(TypeDeserializer typeDeser, JsonDeserializer<?> deser) in TypeWrappedDeserializer()
33 _deserializer = (JsonDeserializer<Object>) deser; in TypeWrappedDeserializer()
52 public JsonDeserializer<?> getDelegatee() { in getDelegatee()
/external/jackson-databind/attic/
DMappingIteratorDeserializer.java17 protected final JsonDeserializer<Object> _valueDeserializer;
23 protected MappingIteratorDeserializer(JavaType valueType, JsonDeserializer<Object> vdeser) { in MappingIteratorDeserializer()
30 public JsonDeserializer<?> createContextual(DeserializationContext ctxt, in createContextual()
33 JsonDeserializer<Object> deser = ctxt.findContextualValueDeserializer(_valueType, prop); in createContextual()

12345