public class SimpleJSONContext extends Object implements JSONContext
Constructor and Description |
---|
SimpleJSONContext(JSON contextJson,
JSONFactory factory)
构造
|
Modifier and Type | Method and Description |
---|---|
JSON |
getContextJson()
获取当前JSON对象
此对象为在Mapper时预定义的对象,用于指定序列化的JSON类型 未指定返回 null |
JSONFactory |
getFactory()
获取JSON工厂
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
config, getOrCreateArray, getOrCreateObj, getOrCreatePrimitive
public SimpleJSONContext(JSON contextJson, JSONFactory factory)
contextJson
- JSON对象factory
- 配置项public JSON getContextJson()
JSONContext
null
getContextJson
in interface JSONContext
public JSONFactory getFactory()
JSONContext
getFactory
in interface JSONContext
Copyright © 2025. All rights reserved.