- java.lang.Object
-
- org.redkale.convert.ConvertFactory<JsonReader,JsonWriter>
-
- org.redkale.convert.json.JsonFactory
-
public final class JsonFactory extends ConvertFactory<JsonReader,JsonWriter>
JSON的ConvertFactory详情见: https://redkale.org
- 作者:
- zhangjx
-
-
字段概要
-
从类继承的字段 org.redkale.convert.ConvertFactory
convert, features
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 JsonFactory
addFeature(int feature)
static JsonFactory
create()
JsonFactory
createChild()
JsonFactory
createChild(int features)
protected <E> Encodeable<JsonWriter,E>
createDyncEncoder(Type type)
protected <E> Decodeable<JsonReader,E>
createMultiImplDecoder(Class[] types)
protected <E> ObjectEncoder<JsonWriter,E>
createObjectEncoder(Type type)
JsonConvert
getConvert()
ConvertType
getConvertType()
boolean
isFieldSort()
boolean
isReversible()
JsonFactory
removeFeature(int feature)
static JsonFactory
root()
protected ConvertFactory
rootFactory()
JsonFactory
skipAllIgnore(boolean skipIgnore)
使所有类的所有被声明为ConvertColumn.ignore = true 的字段或方法变为ConvertColumn.ignore = falseJsonFactory
withFeatures(int features)
JsonFactory
withNullableFeature(boolean nullable)
JsonFactory
withTinyFeature(boolean tiny)
-
从类继承的方法 org.redkale.convert.ConvertFactory
checkNullableFeature, checkTinyFeature, createArrayDecoder, createArrayEncoder, createCollectionDecoder, createCollectionEncoder, createDecoder, createDecoder, createEncoder, createEncoder, createEnumSimpledCoder, createGenericListType, createMapDecoder, createMapEncoder, createObjectDecoder, createStreamDecoder, createStreamEncoder, findConvert, findCreator, findDecoder, findEncoder, findFieldCoder, findFieldFunc, findRef, formatObjectType, getAnyEncoder, getCollectionComponentType, getFeatures, getStreamionComponentType, getSystemPropertyInt, isCollectionType, isConvertDisabled, isSimpleMemberType, isStreamType, loadCreator, loadDecoder, loadEncoder, parent, readConvertFieldName, readGetSetFieldName, register, register, register, register, register, register, register, register, register, register, register, register, registerFieldFuncConsumer, registerIgnoreAll, registerIgnoreAll, registerSkipAllIgnore, registerSkipIgnore, reloadCoder, reloadCoder, sortFieldIndex
-
-
-
-
方法详细资料
-
withFeatures
public JsonFactory withFeatures(int features)
- 覆盖:
withFeatures
在类中ConvertFactory<JsonReader,JsonWriter>
-
addFeature
public JsonFactory addFeature(int feature)
- 覆盖:
addFeature
在类中ConvertFactory<JsonReader,JsonWriter>
-
removeFeature
public JsonFactory removeFeature(int feature)
- 覆盖:
removeFeature
在类中ConvertFactory<JsonReader,JsonWriter>
-
withTinyFeature
public JsonFactory withTinyFeature(boolean tiny)
- 覆盖:
withTinyFeature
在类中ConvertFactory<JsonReader,JsonWriter>
-
withNullableFeature
public JsonFactory withNullableFeature(boolean nullable)
-
skipAllIgnore
public JsonFactory skipAllIgnore(boolean skipIgnore)
从类复制的说明:ConvertFactory
使所有类的所有被声明为ConvertColumn.ignore = true 的字段或方法变为ConvertColumn.ignore = false- 覆盖:
skipAllIgnore
在类中ConvertFactory<JsonReader,JsonWriter>
- 参数:
skipIgnore
- 忽略ignore- 返回:
- 自身
-
rootFactory
protected ConvertFactory rootFactory()
- 指定者:
rootFactory
在类中ConvertFactory<JsonReader,JsonWriter>
-
root
public static JsonFactory root()
-
create
public static JsonFactory create()
-
createDyncEncoder
protected <E> Encodeable<JsonWriter,E> createDyncEncoder(Type type)
- 覆盖:
createDyncEncoder
在类中ConvertFactory<JsonReader,JsonWriter>
-
createObjectEncoder
protected <E> ObjectEncoder<JsonWriter,E> createObjectEncoder(Type type)
-
createMultiImplDecoder
protected <E> Decodeable<JsonReader,E> createMultiImplDecoder(Class[] types)
-
getConvert
public final JsonConvert getConvert()
- 覆盖:
getConvert
在类中ConvertFactory<JsonReader,JsonWriter>
-
createChild
public JsonFactory createChild()
- 指定者:
createChild
在类中ConvertFactory<JsonReader,JsonWriter>
-
createChild
public JsonFactory createChild(int features)
- 指定者:
createChild
在类中ConvertFactory<JsonReader,JsonWriter>
-
getConvertType
public ConvertType getConvertType()
- 指定者:
getConvertType
在类中ConvertFactory<JsonReader,JsonWriter>
-
isReversible
public boolean isReversible()
- 指定者:
isReversible
在类中ConvertFactory<JsonReader,JsonWriter>
-
isFieldSort
public boolean isFieldSort()
- 指定者:
isFieldSort
在类中ConvertFactory<JsonReader,JsonWriter>
-
-