Class JsonNodeInfo
java.lang.Object
cn.sinozg.applet.common.core.model.JsonNodeInfo
json 节点信息
- Since:
- 2023-08-25 21:41
- Author:
- xieyubin
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJsonNodeInfo(int index, NodeType type) JsonNodeInfo(String value, NodeType type) -
Method Summary
-
Field Details
-
type
类型 -
value
值 -
index
private int index为数组的时候取的下标 为负数 则反过来取值
-
-
Constructor Details
-
JsonNodeInfo
public JsonNodeInfo() -
JsonNodeInfo
-
JsonNodeInfo
-
-
Method Details
-
getType
获取 类型- Returns:
- type 类型
-
setType
设置 类型- Parameters:
type- 类型
-
getValue
获取 值- Returns:
- value 值
-
setValue
设置 值- Parameters:
value- 值
-
getIndex
public int getIndex()获取 为数组的时候取的下标 为负数 则反过来取值- Returns:
- index 为数组的时候取的下标 为负数 则反过来取值
-
setIndex
public void setIndex(int index) 设置 为数组的时候取的下标 为负数 则反过来取值- Parameters:
index- 为数组的时候取的下标 为负数 则反过来取值
-