| Package | Description |
|---|---|
| tr.com.terrayazilim.json | |
| tr.com.terrayazilim.json.codec | |
| tr.com.terrayazilim.json.type |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonGraph.buildReaderGraph(Json json,
JsonStream stream,
Token<T> type) |
void |
JsonGraph.buildWriterGraph(Json json,
T instance,
Token<T> type) |
<T> JsonAdapter<T> |
JsonAdapterFactory.call(Json json,
Token<T> token) |
<T> T |
Json.fromJson(JsonObject jsonObject,
Token<T> token) |
<R> R |
Json.fromJson(String json,
Token<R> token) |
<T> JsonAdapter<T> |
Json.getAdapter(Token<T> typeToken)
Determines adapter in runtime.
|
<T> String |
Json.toJson(T instance,
Token<T> token)
Use it for instances that has generic signature.
|
| Constructor and Description |
|---|
JsonArrayAdapter(Json json,
Token<T> token) |
JsonCollectionAdapter(Json json,
Token<T> token) |
JsonMapAdapter(Json json,
Token<Map<K,V>> tokenArgs) |
| Modifier and Type | Method and Description |
|---|---|
Token<T> |
ConstructorToken.getToken() |
static <T> Token<T> |
Token.of(Class<T> type) |
static <T> Token<T> |
Token.of(Type type) |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
ConstructorToken.getCollection(Token<T> token) |
static <T> T |
ConstructorToken.getMap(Token<T> token) |
Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.