Home
last modified time | relevance | path

Searched refs:JsonIncludeProperties (Results 1 – 16 of 16) sorted by relevance

/external/jackson-annotations/src/test/java/com/fasterxml/jackson/annotation/
DJsonIncludePropertiesTest.java14 @JsonIncludeProperties(value = {"foo", "bar"})
19 private final JsonIncludeProperties.Value ALL = JsonIncludeProperties.Value.all();
23 assertSame(ALL, JsonIncludeProperties.Value.from(null)); in testAll()
32JsonIncludeProperties.Value v = JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonInc… in testFromAnnotation()
38 …assertEquals(v, JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonIncludeProperties.c… in testFromAnnotation()
42JsonIncludeProperties.Value v = JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonInc… in testWithOverridesAll()
50JsonIncludeProperties.Value v = JsonIncludeProperties.Value.from(Bogus.class.getAnnotation(JsonInc… in testWithOverridesEmpty()
51 v = v.withOverrides(new JsonIncludeProperties.Value(Collections.<String>emptySet())); in testWithOverridesEmpty()
57JsonIncludeProperties.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/
DJsonIncludeProperties.java30 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/
DIncludePropsForSerTest.java4 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/
DIncludeWithDeserTest.java5 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/
DAnnotationIntrospector.java292 …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/
DAnnotationIntrospectorPair.java13 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()
DJacksonAnnotationIntrospector.java319 …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/
DMapperConfig.java509 public abstract JsonIncludeProperties.Value getDefaultPropertyInclusions(Class<?> baseType, in getDefaultPropertyInclusions()
DMapperConfigBase.java669 public final JsonIncludeProperties.Value getDefaultPropertyInclusions(Class<?> baseType, in getDefaultPropertyInclusions()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DBeanSerializerFactory.java6 import com.fasterxml.jackson.annotation.JsonIncludeProperties;
644JsonIncludeProperties.Value inclusions = config.getDefaultPropertyInclusions(beanDesc.getBeanClass… in filterBeanProperties()
DBasicSerializerFactory.java14 import com.fasterxml.jackson.annotation.JsonIncludeProperties;
827JsonIncludeProperties.Value inclusions = config.getDefaultPropertyInclusions(Map.class, in buildMapSerializer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DMapDeserializer.java8 import com.fasterxml.jackson.annotation.JsonIncludeProperties;
341JsonIncludeProperties.Value inclusions = intr.findPropertyInclusionByName(config, member); in createContextual()
/external/jackson-annotations/release-notes/
DVERSION-2.x19 #174: Add `@JsonIncludeProperties`
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBeanDeserializerFactory.java514 JsonIncludeProperties.Value inclusions = ctxt.getConfig() in addBeanProps()
DBasicDeserializerFactory.java13 import com.fasterxml.jackson.annotation.JsonIncludeProperties;
1389JsonIncludeProperties.Value inclusions = config.getDefaultPropertyInclusions(Map.class, in createMapDeserializer()
/external/jackson-databind/release-notes/
DVERSION-2.x14 #1296: Add `@JsonIncludeProperties(propertyNames)` (reverse of `@JsonIgnoreProperties`)