Home
last modified time | relevance | path

Searched refs:alwaysAsId (Results 1 – 14 of 14) sorted by relevance

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DObjectIdWriter.java41 public final boolean alwaysAsId; field in ObjectIdWriter
51 ObjectIdGenerator<?> gen, JsonSerializer<?> ser, boolean alwaysAsId) in ObjectIdWriter() argument
57 this.alwaysAsId = alwaysAsId; in ObjectIdWriter()
68 ObjectIdGenerator<?> generator, boolean alwaysAsId) in construct() argument
72 return new ObjectIdWriter(idType, serName, generator, null, alwaysAsId); in construct()
76 return new ObjectIdWriter(idType, propertyName, generator, ser, alwaysAsId); in withSerializer()
83 if (newState == alwaysAsId) { in withAlwaysAsId()
DWritableObjectId.java34 if ((id != null) && (idWritten || w.alwaysAsId)) { in writeAsId()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DObjectIdInfo.java35 boolean alwaysAsId) in ObjectIdInfo() argument
37 this(prop, scope, gen, alwaysAsId, SimpleObjectIdResolver.class); in ObjectIdInfo()
42 boolean alwaysAsId, Class<? extends ObjectIdResolver> resolver) in ObjectIdInfo() argument
47 _alwaysAsId = alwaysAsId; in ObjectIdInfo()
DJacksonAnnotationIntrospector.java658 return objectIdInfo.withAlwaysAsId(ref.alwaysAsId()); in findObjectReferenceInfo()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/objectid/
DAlwaysAsReferenceFirstTest.java12 @JsonIdentityReference(alwaysAsId = true)
37 @JsonIdentityReference(alwaysAsId=true)
53 @JsonIdentityReference(alwaysAsId=true)
DObjectWithCreator1261Test.java25 @JsonIdentityReference(alwaysAsId = true)
44 @JsonIdentityReference(alwaysAsId = true)
47 @JsonIdentityReference(alwaysAsId = true)
DPolymorphicWithObjectId1551Test.java24 @JsonIdentityReference(alwaysAsId = false)
30 @JsonIdentityReference(alwaysAsId = false)
DTestObjectIdSerialization.java121 @JsonIdentityReference(alwaysAsId=true)
125 @JsonIdentityReference(alwaysAsId=true)
139 @JsonIdentityReference(alwaysAsId=true)
DTestObjectId.java73 @JsonIdentityReference(alwaysAsId=true)
76 @JsonIdentityReference(alwaysAsId=true)
DObjectId2759Test.java37 @JsonIdentityReference(alwaysAsId = true)
DTestObjectIdDeserialization.java145 @JsonIdentityReference(alwaysAsId = true) // #524
/external/jackson-annotations/src/main/java/com/fasterxml/jackson/annotation/
DJsonIdentityReference.java34 public boolean alwaysAsId() default false; in alwaysAsId() method
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DBeanSerializerBase.java670 if (w.alwaysAsId) { in _serializeWithObjectId()
699 if (w.alwaysAsId) { in _serializeWithObjectId()
/external/jackson-databind/release-notes/
DVERSION-2.x1525 #524: @JsonIdentityReference(alwaysAsId = true) Custom resolver is reset to SimpleObjectIdResolver
1814 #188: Problem with ObjectId serialization, 'alwaysAsId' references
2002 * (issue #4 of jackson-annotations): Add `@JsonIdentityReference(alwaysAsId=true)`