Java Code Examples for com.fasterxml.jackson.databind.util.ClassUtil#isJacksonStdImpl()
The following examples show how to use
com.fasterxml.jackson.databind.util.ClassUtil#isJacksonStdImpl() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: StdDeserializer.java From lams with GNU General Public License v2.0 | 4 votes |
protected boolean isDefaultKeyDeserializer(KeyDeserializer keyDeser) { return ClassUtil.isJacksonStdImpl(keyDeser); }
Example 2
Source File: UntypedObjectDeserializer.java From lams with GNU General Public License v2.0 | 4 votes |
protected JsonDeserializer<Object> _clearIfStdImpl(JsonDeserializer<Object> deser) { return ClassUtil.isJacksonStdImpl(deser) ? null : deser; }
Example 3
Source File: ABSerializerModifier.java From jackson-modules-base with Apache License 2.0 | 4 votes |
/** * Helper method used to check whether given serializer is the default * serializer implementation: this is necessary to avoid overriding other * kinds of serializers. */ protected boolean isDefaultSerializer(SerializationConfig config, JsonSerializer<?> ser) { return ClassUtil.isJacksonStdImpl(ser); }
Example 4
Source File: ABDeserializerModifier.java From jackson-modules-base with Apache License 2.0 | 4 votes |
/** * Helper method used to check whether given deserializer is the default * deserializer implementation: this is necessary to avoid overriding other * kinds of deserializers. */ protected boolean isDefaultDeserializer(JsonDeserializer<?> deser) { return ClassUtil.isJacksonStdImpl(deser) // 07-May-2018, tatu: Probably can't happen but just in case || (deser instanceof SuperSonicBeanDeserializer); }
Example 5
Source File: OptimizedSettableBeanProperty.java From jackson-modules-base with Apache License 2.0 | 4 votes |
/** * Helper method used to check whether given deserializer is the default * deserializer implementation: this is necessary to avoid overriding custom * deserializers. */ protected boolean _isDefaultDeserializer(JsonDeserializer<?> deser) { return (deser == null) || (deser instanceof SuperSonicBeanDeserializer) || ClassUtil.isJacksonStdImpl(deser); }
Example 6
Source File: StdSerializer.java From lams with GNU General Public License v2.0 | 2 votes |
/** * Method that can be called to determine if given serializer is the default * serializer Jackson uses; as opposed to a custom serializer installed by * a module or calling application. Determination is done using * {@link JacksonStdImpl} annotation on serializer class. */ protected boolean isDefaultSerializer(JsonSerializer<?> serializer) { return ClassUtil.isJacksonStdImpl(serializer); }
Example 7
Source File: StdDeserializer.java From lams with GNU General Public License v2.0 | 2 votes |
/** * Method that can be called to determine if given deserializer is the default * deserializer Jackson uses; as opposed to a custom deserializer installed by * a module or calling application. Determination is done using * {@link JacksonStdImpl} annotation on deserializer class. */ protected boolean isDefaultDeserializer(JsonDeserializer<?> deserializer) { return ClassUtil.isJacksonStdImpl(deserializer); }
Example 8
Source File: OptimizedBeanPropertyWriter.java From jackson-modules-base with Apache License 2.0 | 2 votes |
/** * Helper method used to check whether given serializer is the default * serializer implementation: this is necessary to avoid overriding other * kinds of deserializers. */ protected boolean isDefaultSerializer(JsonSerializer<?> ser) { return (ser == null) || ClassUtil.isJacksonStdImpl(ser); }