| 程序包 | 说明 |
|---|---|
| org.noear.snack | |
| org.noear.snack.core | |
| org.noear.snack.core.utils | |
| org.noear.snack.to |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Constants |
ONode._c |
| 限定符和类型 | 方法和说明 |
|---|---|
ONode |
ONode.cfg(Constants config) |
static <T> T |
ONode.deserialize(String source,
Class<?> clz,
Constants config) |
static ONode |
ONode.map(Object source,
Constants config) |
static String |
ONode.serialize(Object source,
Constants config) |
protected void |
ONodeData.tryInitObject(Constants cfg)
尝试初始化为 object
|
| 构造器和说明 |
|---|
ONode(Constants cfg) |
| 限定符和类型 | 字段和说明 |
|---|---|
Constants |
Context.config
前量配置
|
static Constants |
Constants.def
默认配置
|
static Constants |
Constants.serialize |
| 限定符和类型 | 方法和说明 |
|---|---|
static Constants |
Constants.of(Feature... features) |
| 构造器和说明 |
|---|
Context(Constants config,
Object from) |
Context(Constants config,
Object from,
boolean fromIsStr)
用于来源处理的构造
|
Context(Constants config,
ONode node,
Class<?> to)
用于去处的构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ONode |
NodeUtil.fromObj(Constants cfg,
Object obj) |
static ONode |
NodeUtil.fromStr(Constants cfg,
String str) |
static Object |
NodeUtil.toObj(Constants cfg,
ONode node,
Class<?> toclz,
Toer toer) |
static String |
NodeUtil.toStr(Constants cfg,
ONode node,
Toer toer) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
JsonToer.analyse(Constants cfg,
ONode o,
StringBuilder sb) |
Object |
ObjectToer.analyseArray(Constants cfg,
ONodeData d,
Class<?> target) |
Object |
ObjectToer.analyseBean(Constants cfg,
ONode o,
Class<?> target) |
Object |
ObjectToer.analyseCollection(Constants cfg,
ONode o,
Class<?> clz,
Type type) |
Object |
ObjectToer.analyseEnum(Constants cfg,
ONodeData d,
Class<?> target) |
Object |
ObjectToer.analyseMap(Constants cfg,
ONode o,
Class<?> clz,
Type type) |
Object |
ObjectToer.analyseVal(Constants cfg,
ONodeData d,
Class<?> clz) |
Copyright © 2019. All rights reserved.