| Package | Description |
|---|---|
| com.holonplatform.json | |
| com.holonplatform.json.gson.internal | |
| com.holonplatform.json.jackson.internal |
| Modifier and Type | Method and Description |
|---|---|
JsonWriter |
Json.toJson(Object value)
Serialize given
value to JSON. |
<T> JsonWriter |
Json.toJsonArray(Class<T> type,
Collection<T> values)
Serialize given collection of values as a JSON array.
|
default <T> JsonWriter |
Json.toJsonArray(Class<T> type,
T... values)
Serialize given array of values as a JSON array.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GsonJsonWriter
Gson implementation of the
JsonWriter. |
| Modifier and Type | Method and Description |
|---|---|
JsonWriter |
DefaultGsonJson.toJson(Object value) |
<T> JsonWriter |
DefaultGsonJson.toJsonArray(Class<T> type,
Collection<T> values) |
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonJsonWriter
Jackson implementation of the
JsonWriter. |
| Modifier and Type | Method and Description |
|---|---|
JsonWriter |
DefaultJacksonJson.toJson(Object value) |
<T> JsonWriter |
DefaultJacksonJson.toJsonArray(Class<T> type,
Collection<T> values) |
Copyright © 2019 The Holon Platform. All rights reserved.