Home
last modified time | relevance | path

Searched refs:JsonIgnoreProperties (Results 1 – 25 of 47) sorted by relevance

12

/external/jackson-annotations/src/test/java/com/fasterxml/jackson/annotation/
DJsonIgnorePropertiesTest.java11 @JsonIgnoreProperties(value={ "foo", "bar" }, ignoreUnknown=true)
15 private final JsonIgnoreProperties.Value EMPTY = JsonIgnoreProperties.Value.empty();
19 assertSame(EMPTY, JsonIgnoreProperties.Value.from(null)); in testEmpty()
32 JsonIgnoreProperties.Value v = EMPTY.withoutMerge(); in testEquality()
40 JsonIgnoreProperties.Value v = JsonIgnoreProperties.Value.from( in testFromAnnotation()
41 Bogus.class.getAnnotation(JsonIgnoreProperties.class)); in testFromAnnotation()
52 assertSame(EMPTY, JsonIgnoreProperties.Value.forIgnoreUnknown(false)); in testFactories()
53 assertSame(EMPTY, JsonIgnoreProperties.Value.forIgnoredProperties()); in testFactories()
54 …assertSame(EMPTY, JsonIgnoreProperties.Value.forIgnoredProperties(Collections.<String>emptySet())); in testFactories()
56 JsonIgnoreProperties.Value v = JsonIgnoreProperties.Value.forIgnoredProperties("a", "b"); in testFactories()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/
DIgnorePropsForSerTest.java11 @JsonIgnoreProperties({"b", "c"})
22 @JsonIgnoreProperties({"@class"})
28 @JsonIgnoreProperties("y")
39 @JsonIgnoreProperties("z")
43 @JsonIgnoreProperties({"x"})
53 @JsonIgnoreProperties("y")
58 @JsonIgnoreProperties({"a"})
68 @JsonIgnoreProperties({ "x" })
77 @JsonIgnoreProperties({ "y" })
148 .setIgnorals(JsonIgnoreProperties.Value.forIgnoredProperties("x")); in testIgnoreViaConfigOverride()
DIncludePropsForSerTest.java3 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
57 @JsonIgnoreProperties("y")
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/filter/
DIgnorePropertyOnDeserTest.java5 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
14 @JsonIgnoreProperties({ "userId" })
47 @JsonIgnoreProperties({ "x" })
50 @JsonIgnoreProperties({ "y" })
55 @JsonIgnoreProperties(value = {"name"}, allowSetters = true)
70 @JsonIgnoreProperties(ignoreUnknown = true)
72 @JsonIgnoreProperties(ignoreUnknown = true)
128 .setIgnorals(JsonIgnoreProperties.Value.forIgnoredProperties("y")); in testIgnoreViaConfigOverride1217()
DTestUnknownPropertyDeserialization.java62 @JsonIgnoreProperties({"b", "c"})
76 @JsonIgnoreProperties(ignoreUnknown=true)
82 @JsonIgnoreProperties({"a", "d"})
94 @JsonIgnoreProperties({"x"})
103 @JsonIgnoreProperties({"y"})
107 @JsonIgnoreProperties({"z"})
113 @JsonIgnoreProperties("x")
DRecursiveIgnorePropertiesTest.java5 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
16 @JsonIgnoreProperties({"person_z"}) // renaming this to person_p works
24 @JsonIgnoreProperties({"person_z"}) // renaming this to person_p works
DReadOnlyDeser95Test.java3 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
11 @JsonIgnoreProperties(value={ "computed" }, allowGetters=true)
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DTestCreatorWithPolymorphic113.java12 @JsonIgnoreProperties(ignoreUnknown = true)
31 @JsonIgnoreProperties(ignoreUnknown = true)
39 @JsonIgnoreProperties(ignoreUnknown = true)
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/
DConfigOverride.java5 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
46 protected JsonIgnoreProperties.Value _ignorals;
105 public JsonIgnoreProperties.Value getIgnorals() { return _ignorals; } in getIgnorals()
DMutableConfigOverride.java5 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
63 public MutableConfigOverride setIgnorals(JsonIgnoreProperties.Value v) { in setIgnorals()
DMapperConfigBase.java644 public final JsonIgnoreProperties.Value getDefaultPropertyIgnorals(Class<?> type) { in getDefaultPropertyIgnorals()
647 JsonIgnoreProperties.Value v = overrides.getIgnorals(); in getDefaultPropertyIgnorals()
658 public final JsonIgnoreProperties.Value getDefaultPropertyIgnorals(Class<?> baseType, in getDefaultPropertyIgnorals()
662 JsonIgnoreProperties.Value base = (intr == null) ? null in getDefaultPropertyIgnorals()
664 JsonIgnoreProperties.Value overrides = getDefaultPropertyIgnorals(baseType); in getDefaultPropertyIgnorals()
665 return JsonIgnoreProperties.Value.merge(base, overrides); in getDefaultPropertyIgnorals()
/external/jackson-annotations/src/main/java/com/fasterxml/jackson/annotation/
DJsonIgnoreProperties.java33 public @interface JsonIgnoreProperties annotation
108 implements JacksonAnnotationValue<JsonIgnoreProperties>,
147 public static Value from(JsonIgnoreProperties src) { in from()
319 public Class<JsonIgnoreProperties> valueFor() { in valueFor()
320 return JsonIgnoreProperties.class; in valueFor()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/
DRecursiveIgnoreProperties1755Test.java6 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
21 @JsonIgnoreProperties({"ignoreMe"})
DJsonIgnoreProperties2803Test.java3 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
12 @JsonIgnoreProperties({"something"})
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/exc/
DExceptionSerializationTest.java6 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
17 @JsonIgnoreProperties({ "bogus1" })
101 .setIgnorals(JsonIgnoreProperties.Value.forIgnoredProperties("bogus2")); in testIgnorals()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/
DIntrospectorPairTest.java6 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
122 … public JsonIgnoreProperties.Value findPropertyIgnoralByName(MapperConfig<?> config, Annotated a) { in findPropertyIgnoralByName()
123 return (JsonIgnoreProperties.Value) values.get("findPropertyIgnoralByName"); in findPropertyIgnoralByName()
286 JsonIgnoreProperties.Value incl = JsonIgnoreProperties.Value.forIgnoredProperties("foo"); in testPropertyIgnorals()
290 .add("findPropertyIgnoralByName", JsonIgnoreProperties.Value.empty()); in testPropertyIgnorals()
291 assertEquals(JsonIgnoreProperties.Value.empty(), in testPropertyIgnorals()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DReadOnlyListDeser2283Test.java5 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
27 @JsonIgnoreProperties(value={ "renamedList" }, allowGetters=true)
DCyclicTypesDeserTest.java3 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
48 @JsonIgnoreProperties({ "parent" })
DReadOrWriteOnlyTest.java8 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
100 @JsonIgnoreProperties(value={ "roles" }, allowGetters=true)
DIgnoreWithDeserTest.java31 @JsonIgnoreProperties({ "z" })
/external/geojson-jackson/src/main/java/org/geojson/
DGeoJsonObject.java6 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
19 @JsonIgnoreProperties(ignoreUnknown = true)
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DAnnotationIntrospectorPair.java11 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
122 … public JsonIgnoreProperties.Value findPropertyIgnoralByName(MapperConfig<?> config, Annotated ann) in findPropertyIgnoralByName()
124 JsonIgnoreProperties.Value v2 = _secondary.findPropertyIgnoralByName(config, ann); in findPropertyIgnoralByName()
125 JsonIgnoreProperties.Value v1 = _primary.findPropertyIgnoralByName(config, ann); in findPropertyIgnoralByName()
201 public JsonIgnoreProperties.Value findPropertyIgnorals(Annotated a) in findPropertyIgnorals()
203 JsonIgnoreProperties.Value v2 = _secondary.findPropertyIgnorals(a); in findPropertyIgnorals()
204 JsonIgnoreProperties.Value v1 = _primary.findPropertyIgnorals(a); in findPropertyIgnorals()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/format/
DCollectionFormatShapeTest.java16 @JsonIgnoreProperties({ "empty" }) // from 'isEmpty()'
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DAnnotationIntrospector.java275 … public JsonIgnoreProperties.Value findPropertyIgnoralByName(MapperConfig<?> config, Annotated ann) in findPropertyIgnoralByName()
371 public JsonIgnoreProperties.Value findPropertyIgnorals(Annotated ac) { in findPropertyIgnorals()
372 return JsonIgnoreProperties.Value.empty(); in findPropertyIgnorals()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ext/
DExternalTypeIdWithIgnoreUnknownTest.java12 @JsonIgnoreProperties(ignoreUnknown = true)

12