Searched refs:JsonIncludeProperties (Results 1 – 16 of 16) sorted by relevance
/external/jackson-annotations/src/test/java/com/fasterxml/jackson/annotation/ |
D | JsonIncludePropertiesTest.java | 14 @JsonIncludeProperties(value = {"foo", "bar"}) 19 private final JsonIncludeProperties.Value ALL = JsonIncludeProperties.Value.all(); 23 assertSame(ALL, JsonIncludeProperties.Value.from(null)); in testAll() 32 …JsonIncludeProperties.Value v = JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonInc… in testFromAnnotation() 38 …assertEquals(v, JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonIncludeProperties.c… in testFromAnnotation() 42 …JsonIncludeProperties.Value v = JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonInc… in testWithOverridesAll() 50 …JsonIncludeProperties.Value v = JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonInc… in testWithOverridesEmpty() 51 v = v.withOverrides(new JsonIncludeProperties.Value(Collections.<String>emptySet())); in testWithOverridesEmpty() 57 …JsonIncludeProperties.Value v = JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonInc… in testWithOverridesMerge() 58 v = v.withOverrides(new JsonIncludeProperties.Value(_set("foo"))); in testWithOverridesMerge()
|
/external/jackson-annotations/src/main/java/com/fasterxml/jackson/annotation/ |
D | JsonIncludeProperties.java | 30 public @interface JsonIncludeProperties annotation 50 …public static class Value implements JacksonAnnotationValue<JsonIncludeProperties>, java.io.Serial… 57 … protected final static JsonIncludeProperties.Value ALL = new JsonIncludeProperties.Value(null); 70 public static JsonIncludeProperties.Value from(JsonIncludeProperties src) in from() 78 public static JsonIncludeProperties.Value all() in all() 84 public Class<JsonIncludeProperties> valueFor() in valueFor() 86 return JsonIncludeProperties.class; in valueFor() 105 public JsonIncludeProperties.Value withOverrides(JsonIncludeProperties.Value overrides) in withOverrides() 124 return new JsonIncludeProperties.Value(toInclude); in withOverrides()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/ |
D | IncludePropsForSerTest.java | 4 import com.fasterxml.jackson.annotation.JsonIncludeProperties; 15 @JsonIncludeProperties({"a", "d"}) 33 @JsonIncludeProperties({"@class", "a"}) 39 @JsonIncludeProperties({"y"}) 51 @JsonIncludeProperties("x") 61 @JsonIncludeProperties({"x", "y"}) 72 @JsonIncludeProperties({"x"}) 78 @JsonIncludeProperties({"a"}) 90 @JsonIncludeProperties({"x"}) 101 @JsonIncludeProperties({"x"})
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/ |
D | IncludeWithDeserTest.java | 5 import com.fasterxml.jackson.annotation.JsonIncludeProperties; 26 @JsonIncludeProperties({"y", "z"}) 55 @JsonIncludeProperties({"y", "z"}) 65 @JsonIncludeProperties("y") 72 @JsonIncludeProperties({"y"}) 83 @JsonIncludeProperties({"@class", "a"}) 90 @JsonIncludeProperties({"a"}) 94 @JsonIncludeProperties({"foo", "bar"})
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | AnnotationIntrospector.java | 292 …public JsonIncludeProperties.Value findPropertyInclusionByName(MapperConfig<?> config, Annotated a… in findPropertyInclusionByName() 293 return JsonIncludeProperties.Value.all(); in findPropertyInclusionByName()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/ |
D | AnnotationIntrospectorPair.java | 13 import com.fasterxml.jackson.annotation.JsonIncludeProperties; 131 …public JsonIncludeProperties.Value findPropertyInclusionByName(MapperConfig<?> config, Annotated a) in findPropertyInclusionByName() 133 JsonIncludeProperties.Value v2 = _secondary.findPropertyInclusionByName(config, a); in findPropertyInclusionByName() 134 JsonIncludeProperties.Value v1 = _primary.findPropertyInclusionByName(config, a); in findPropertyInclusionByName()
|
D | JacksonAnnotationIntrospector.java | 319 …public JsonIncludeProperties.Value findPropertyInclusionByName(MapperConfig<?> config, Annotated a) in findPropertyInclusionByName() 321 JsonIncludeProperties v = _findAnnotation(a, JsonIncludeProperties.class); in findPropertyInclusionByName() 323 return JsonIncludeProperties.Value.all(); in findPropertyInclusionByName() 325 return JsonIncludeProperties.Value.from(v); in findPropertyInclusionByName()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/ |
D | MapperConfig.java | 509 public abstract JsonIncludeProperties.Value getDefaultPropertyInclusions(Class<?> baseType, in getDefaultPropertyInclusions()
|
D | MapperConfigBase.java | 669 public final JsonIncludeProperties.Value getDefaultPropertyInclusions(Class<?> baseType, in getDefaultPropertyInclusions()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/ |
D | BeanSerializerFactory.java | 6 import com.fasterxml.jackson.annotation.JsonIncludeProperties; 644 …JsonIncludeProperties.Value inclusions = config.getDefaultPropertyInclusions(beanDesc.getBeanClass… in filterBeanProperties()
|
D | BasicSerializerFactory.java | 14 import com.fasterxml.jackson.annotation.JsonIncludeProperties; 827 … JsonIncludeProperties.Value inclusions = config.getDefaultPropertyInclusions(Map.class, in buildMapSerializer()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/ |
D | MapDeserializer.java | 8 import com.fasterxml.jackson.annotation.JsonIncludeProperties; 341 … JsonIncludeProperties.Value inclusions = intr.findPropertyInclusionByName(config, member); in createContextual()
|
/external/jackson-annotations/release-notes/ |
D | VERSION-2.x | 19 #174: Add `@JsonIncludeProperties`
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/ |
D | BeanDeserializerFactory.java | 514 JsonIncludeProperties.Value inclusions = ctxt.getConfig() in addBeanProps()
|
D | BasicDeserializerFactory.java | 13 import com.fasterxml.jackson.annotation.JsonIncludeProperties; 1389 … JsonIncludeProperties.Value inclusions = config.getDefaultPropertyInclusions(Map.class, in createMapDeserializer()
|
/external/jackson-databind/release-notes/ |
D | VERSION-2.x | 14 #1296: Add `@JsonIncludeProperties(propertyNames)` (reverse of `@JsonIgnoreProperties`)
|