xlang v5.1 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
JsonNode.x
浏览该文件的文档.
1
5class JsonNode {
6
7 // JSON类型的常量定义
8 public static const int JSONTYPE_BOOL; // JSON布尔类型 - 表示JSON中的true或false值
9 public static const int JSONTYPE_NULL; // JSON null类型 - 表示JSON中的null值
10 public static const int JSONTYPE_NUMBER; // JSON数字类型 - 表示JSON中的数值
11 public static const int JSONTYPE_STRING; // JSON字符串类型 - 表示JSON中的字符串值
12 public static const int JSONTYPE_ARRAY; // JSON数组类型 - 表示JSON中的数组结构
13 public static const int JSONTYPE_OBJECT; // JSON对象类型
14 // 判断当前节点是否为数组
15 public bool isArray();
16 public @NotNilptr JsonNode next();
17 public @NotNilptr JsonNode prev();
18 public @NotNilptr JsonNode child();
19 public @NotNilptr String getName();
20 public @NotNilptr JsonNode clone();
21 public final int getType();
22 public bool equals(JsonNode);
23 public @NotNilptr String toString(bool);
24 public @NotNilptr String toString();
25 public void finalize();
26 public @NotNilptr XmlObject asXml(String);
27 public static final @NotNilptr JsonNode From(String);
28};
static const int JSONTYPE_NUMBER
Definition JsonNode.x:10
String toString(bool)
void finalize()
final int getType()
static const int JSONTYPE_STRING
Definition JsonNode.x:11
JsonNode next()
bool equals(JsonNode)
String getName()
bool isArray()
XmlObject asXml(String)
static const int JSONTYPE_ARRAY
Definition JsonNode.x:12
static const int JSONTYPE_BOOL
Definition JsonNode.x:8
static const int JSONTYPE_OBJECT
Definition JsonNode.x:13
JsonNode prev()
static const int JSONTYPE_NULL
Definition JsonNode.x:9
String toString()
JsonNode clone()
static final JsonNode From(String)
JsonNode child()
Definition String.x:5