| 程序包 | 说明 |
|---|---|
| cn.weforward.common.json |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
JsonArray
JSON数组
|
static interface |
JsonArray.Appendable
(在解析过程)可追加项的
|
interface |
JsonObject
Json对象
|
static interface |
JsonObject.Appendable
(在解析过程)可追加项的
|
| 限定符和类型 | 类和说明 |
|---|---|
static class |
JsonMapper.NodeBind<T> |
class |
SimpleJsonArray
JsonArray实现 |
class |
SimpleJsonObject
Json对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
JsonNode |
JsonUtil.ParseHook.foundNode(int begin,
int end,
JsonNode value,
String name,
int depth)
找到新的JSON节点
|
JsonNode |
JsonUtil.WrapListener.foundNode(int begin,
int end,
JsonNode value,
String name,
int depth) |
static JsonNode |
JsonUtil.parse(JsonInput in)
由JSON格式流解析为JsonNode
|
static JsonNode |
JsonUtil.parse(JsonInput in,
JsonUtil.Listener listener)
由JSON格式流解析为JsonNode
|
static JsonNode |
JsonUtil.parse(JsonInput in,
JsonUtil.Listener listener,
JsonUtil.NodeBuilder builder)
由JSON格式流解析为JsonNode
|
static JsonNode |
JsonUtil.parse(JsonInput in,
JsonUtil.NodeBuilderExt builder,
JsonUtil.ParseHook hook)
由JSON格式流解析为JsonNode
|
static JsonNode |
JsonUtil.parse(JsonInput in,
JsonUtil.ParseHook hook)
由JSON格式流解析为JsonNode
|
| 限定符和类型 | 方法和说明 |
|---|---|
JsonArray.Appendable |
JsonUtil.NodeBuilderExt.createArray(String name,
JsonNode parent)
创建JSON数组
|
JsonArray.Appendable |
JsonUtil.WrapNodeBuilder.createArray(String name,
JsonNode parent) |
JsonArray.Appendable |
JsonMapper.Builder.createArray(String name,
JsonNode parent) |
JsonObject.Appendable |
JsonUtil.NodeBuilderExt.createObject(String name,
JsonNode parent)
创建JSON对象
|
JsonObject.Appendable |
JsonUtil.WrapNodeBuilder.createObject(String name,
JsonNode parent) |
JsonObject.Appendable |
JsonMapper.Builder.createObject(String name,
JsonNode parent) |
static void |
JsonUtil.format(JsonNode json,
JsonOutput out) |
JsonNode |
JsonUtil.ParseHook.foundNode(int begin,
int end,
JsonNode value,
String name,
int depth)
找到新的JSON节点
|
JsonNode |
JsonUtil.WrapListener.foundNode(int begin,
int end,
JsonNode value,
String name,
int depth) |
void |
JsonUtil.Listener.foundNode(JsonNode value,
String name,
int depth)
找到新的JSON节点
|
protected static JsonArray |
JsonUtil.parseArray(JsonUtil.Context ctx,
JsonUtil.NodeBuilderExt builder,
String name,
JsonNode parent)
解析Json数组
|
protected static JsonObject |
JsonUtil.parseObject(JsonUtil.Context ctx,
JsonUtil.NodeBuilderExt builder,
String name,
JsonNode parent)
解析Json对象
|
protected static Object |
JsonUtil.parseValue(JsonUtil.Context ctx,
JsonUtil.NodeBuilderExt builder,
String name,
JsonNode parent,
int begin)
解析Json节点值
|
Copyright © 2022. All rights reserved.