| Package | Description |
|---|---|
| com.ebay.jsoncoder |
| Modifier and Type | Method and Description |
|---|---|
JSONCoderOption |
JSONCoderOption.addCoder(ICoder<?>... codes) |
JSONCoderOption |
JSONCoderOption.addIgnoreSubClassFieldsClasses(Class<?>... cls) |
JSONCoderOption |
JSONCoderOption.addSkippedClasses(Class<?>... cls) |
static JSONCoderOption |
JSONCoderOption.create() |
JSONCoderOption |
JSONCoderOption.setJsonOption(boolean alwaysQuoteName,
char quoteChar,
int indentFactor) |
| Modifier and Type | Method and Description |
|---|---|
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 © 2019. All rights reserved.