| 程序包 | 说明 |
|---|---|
| cn.weforward.common.json |
| 限定符和类型 | 类和说明 |
|---|---|
class |
JsonInputStream
封装UTF-8字节流的InputStream为JsonInput
|
class |
StringInput
字串输入
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 char |
JsonUtil.skipBlank(JsonInput in,
int limit)
跳过空格、换行符等
|
static Appendable |
JsonUtil.unescape(JsonInput in,
Appendable builder) |
| 构造器和说明 |
|---|
JsonUtil.Context(JsonInput in,
JsonUtil.Listener listener) |
Copyright © 2020. All rights reserved.