public static class JsonMappingException.Reference extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
_asString
Lazily-constructed description of this instance; needed mostly to
allow JDK serialization to work in case where
_from is
non-serializable (and has to be dropped) but we still want to pass
actual description along. |
protected String |
_fieldName
Name of field (for beans) or key (for Maps) that is part
of the reference.
|
protected Object |
_from
Object through which reference was resolved.
|
protected int |
_index
Index within a
Collection instance that contained
the reference; used if index is relevant and available. |
Modifier | Constructor and Description |
---|---|
protected |
JsonMappingException.Reference()
Default constructor for deserialization/sub-classing purposes
|
|
JsonMappingException.Reference(Object from) |
|
JsonMappingException.Reference(Object from,
int index) |
|
JsonMappingException.Reference(Object from,
String fieldName) |
protected Object _from
protected String _fieldName
_index
defined), or when resolving
Map classes without (yet) having an instance to operate on.protected int _index
Collection
instance that contained
the reference; used if index is relevant and available.
If either not applicable, or not available, -1 is used to
denote "not known".protected JsonMappingException.Reference()
public JsonMappingException.Reference(Object from)
public JsonMappingException.Reference(Object from, int index)
Copyright © 2008–2018 FasterXML. All rights reserved.