public class JsonNodeInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
private int |
index
为数组的时候取的下标 为负数 则反过来取值
|
private NodeType |
type
类型
|
private String |
value
值
|
| Constructor and Description |
|---|
JsonNodeInfo() |
JsonNodeInfo(int index,
NodeType type) |
JsonNodeInfo(String value,
NodeType type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
获取 为数组的时候取的下标 为负数 则反过来取值
|
NodeType |
getType()
获取 类型
|
String |
getValue()
获取 值
|
void |
setIndex(int index)
设置 为数组的时候取的下标 为负数 则反过来取值
|
void |
setType(NodeType type)
设置 类型
|
void |
setValue(String value)
设置 值
|
private NodeType type
private String value
private int index
public JsonNodeInfo()
public JsonNodeInfo(int index,
NodeType type)
public NodeType getType()
public void setType(NodeType type)
type - 类型public String getValue()
public void setValue(String value)
value - 值public int getIndex()
public void setIndex(int index)
index - 为数组的时候取的下标 为负数 则反过来取值Copyright © 2024. All rights reserved.