Searched refs:alwaysAsId (Results 1 – 14 of 14) sorted by relevance
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/ |
D | ObjectIdWriter.java | 41 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()
|
D | WritableObjectId.java | 34 if ((id != null) && (idWritten || w.alwaysAsId)) { in writeAsId()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/ |
D | ObjectIdInfo.java | 35 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()
|
D | JacksonAnnotationIntrospector.java | 658 return objectIdInfo.withAlwaysAsId(ref.alwaysAsId()); in findObjectReferenceInfo()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/objectid/ |
D | AlwaysAsReferenceFirstTest.java | 12 @JsonIdentityReference(alwaysAsId = true) 37 @JsonIdentityReference(alwaysAsId=true) 53 @JsonIdentityReference(alwaysAsId=true)
|
D | ObjectWithCreator1261Test.java | 25 @JsonIdentityReference(alwaysAsId = true) 44 @JsonIdentityReference(alwaysAsId = true) 47 @JsonIdentityReference(alwaysAsId = true)
|
D | PolymorphicWithObjectId1551Test.java | 24 @JsonIdentityReference(alwaysAsId = false) 30 @JsonIdentityReference(alwaysAsId = false)
|
D | TestObjectIdSerialization.java | 121 @JsonIdentityReference(alwaysAsId=true) 125 @JsonIdentityReference(alwaysAsId=true) 139 @JsonIdentityReference(alwaysAsId=true)
|
D | TestObjectId.java | 73 @JsonIdentityReference(alwaysAsId=true) 76 @JsonIdentityReference(alwaysAsId=true)
|
D | ObjectId2759Test.java | 37 @JsonIdentityReference(alwaysAsId = true)
|
D | TestObjectIdDeserialization.java | 145 @JsonIdentityReference(alwaysAsId = true) // #524
|
/external/jackson-annotations/src/main/java/com/fasterxml/jackson/annotation/ |
D | JsonIdentityReference.java | 34 public boolean alwaysAsId() default false; in alwaysAsId() method
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/ |
D | BeanSerializerBase.java | 670 if (w.alwaysAsId) { in _serializeWithObjectId() 699 if (w.alwaysAsId) { in _serializeWithObjectId()
|
/external/jackson-databind/release-notes/ |
D | VERSION-2.x | 1525 #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)`
|