| Package | Description |
|---|---|
| com.alibaba.fastjson2 | |
| com.alibaba.fastjson2.writer |
| Modifier and Type | Field and Description |
|---|---|
(package private) JSONWriter.Path |
JSONWriter.Path.child0
First child path cache for optimization.
|
(package private) JSONWriter.Path |
JSONWriter.Path.child1
Second child path cache for optimization.
|
static JSONWriter.Path |
JSONWriter.Path.MANGER_REFERNCE
The manager reference path instance, used for special reference handling.
|
JSONWriter.Path |
JSONWriter.Path.parent
The parent path of this path segment, or null if this is the root path.
|
protected JSONWriter.Path |
JSONWriter.path |
static JSONWriter.Path |
JSONWriter.Path.ROOT
The root path instance, representing the top level of the JSON structure.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.IdentityHashMap<java.lang.Object,JSONWriter.Path> |
JSONWriter.refs |
| Constructor and Description |
|---|
Path(JSONWriter.Path parent,
int index)
Creates a new Path instance representing an array index.
|
Path(JSONWriter.Path parent,
java.lang.String name)
Creates a new Path instance representing a named property.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) JSONWriter.Path |
FieldWriter.path |
(package private) JSONWriter.Path |
FieldWriter.rootParentPath |
| Modifier and Type | Method and Description |
|---|---|
JSONWriter.Path |
FieldWriter.getPath(JSONWriter.Path parent) |
JSONWriter.Path |
FieldWriter.getRootParentPath() |
| Modifier and Type | Method and Description |
|---|---|
JSONWriter.Path |
FieldWriter.getPath(JSONWriter.Path parent) |