| Package | Description |
|---|---|
| com.holonplatform.json | |
| com.holonplatform.json.gson | |
| com.holonplatform.json.jackson |
| Modifier and Type | Method and Description |
|---|---|
Json |
JsonProvider.provide()
Provides the
Json implementation. |
static Json |
Json.require()
Requires a
Json implementation, either from Context, if available using CONTEXT_KEY, or
relying on registered JsonProviders and using the one with higher priority. |
| Modifier and Type | Method and Description |
|---|---|
static Optional<Json> |
Json.get()
Try to obtain a
Json implementation, either from Context, if available using
CONTEXT_KEY, or relying on registered JsonProviders and using the one with higher priority. |
static Optional<Json> |
Json.get(ClassLoader classLoader)
Try to obtain a
Json implementation using given Classloader, either from Context, if available
using CONTEXT_KEY, or relying on registered JsonProviders and using the one with higher
priority. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
GsonJson
Json implementation using Gson. |
| Modifier and Type | Method and Description |
|---|---|
static Json |
GsonJson.create()
Create a new
Json instance using a default GsonBuilder. |
static Json |
GsonJson.create(com.google.gson.GsonBuilder builder)
Create a new
Json instance using a given builder. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
JacksonJson
Json implementation using Jackson ObjectMapper. |
| Modifier and Type | Method and Description |
|---|---|
static Json |
JacksonJson.create()
Create a new
Json instance using a default ObjectMapper. |
static Json |
JacksonJson.create(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Create a new
Json instance using a given objectMapper. |
Copyright © 2019 The Holon Platform. All rights reserved.