| Package | Description |
|---|---|
| org.jsonex.jsoncoder |
| Modifier and Type | Method and Description |
|---|---|
JSONCoderOption |
JSONCoderOption.addCoder(ICoder<?>... codes) |
JSONCoderOption |
JSONCoderOption.addFilterFor(Class<?> cls,
FieldTransformer filter) |
JSONCoderOption |
JSONCoderOption.addFilterFor(Class<?> cls,
FieldTransformer filter,
boolean last) |
JSONCoderOption |
JSONCoderOption.addIgnoreSubClassFieldsClasses(Class<?>... cls) |
JSONCoderOption |
JSONCoderOption.addSkippedClasses(Class<?>... cls) |
static JSONCoderOption |
JSONCoderOption.of() |
static JSONCoderOption |
JSONCoderOption.ofIndentFactor(int factor) |
JSONCoderOption |
JSONCoderOption.setJsonOption(boolean alwaysQuoteName,
char quoteChar,
int indentFactor) |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
JSONCoder.decode(org.jsonex.core.charsource.CharSource source,
Class<T> type,
JSONCoderOption opt) |
static <T> T |
JSONCoder.decode(DecodeReq<T> req,
JSONCoderOption opt) |
static <T> T |
JSONCoder.decode(Reader reader,
Class<T> type,
JSONCoderOption opt) |
static <T> T |
JSONCoder.decode(String jsonStr,
Class<T> type,
JSONCoderOption opt) |
static <T> T |
JSONCoder.decode(TDNode treeDocNode,
Class<T> type,
JSONCoderOption opt) |
static String |
JSONCoder.encode(EncodeReq req,
JSONCoderOption opt) |
static String |
JSONCoder.encode(Object obj,
JSONCoderOption opt) |
static void |
JSONCoder.encode(Object obj,
Writer writer,
JSONCoderOption opt) |
| Constructor and Description |
|---|
JSONCoder(JSONCoderOption option) |
Copyright © 2021. All rights reserved.