A B C D F G I J M P R S T V W

## A

asBytes() - Method in interface com.holonplatform.json.JsonWriter
  Get the JSON data as a byte array.
asString() - Method in interface com.holonplatform.json.JsonWriter
  Get the JSON data as a `String`.

## B

build() - Method in interface com.holonplatform.json.model.PropertySetSerializationTreeResolver.Builder
  Build the `PropertySetSerializationTreeResolver`.
builder() - Static method in interface com.holonplatform.json.config.JsonConfigProperties
  Builder to create property set instances bound to a property data source.
builder() - Static method in interface com.holonplatform.json.gson.GsonConfiguration
  Create a `GsonBuilder`, registering serializers and deserializers for `PropertyBox` type handling and using the default `PropertyBox` serialization mode.
builder(PropertyBoxSerializationMode) - Static method in interface com.holonplatform.json.gson.GsonConfiguration
  Create a `GsonBuilder`, registering serializers and deserializers for `PropertyBox` type handling.
builder() - Static method in interface com.holonplatform.json.model.PropertySetSerializationTreeResolver
  Return a builder to build `PropertySetSerializationTreeResolver` instances.

## C

com.holonplatform.json - package com.holonplatform.json
com.holonplatform.json.config - package com.holonplatform.json.config
com.holonplatform.json.datetime - package com.holonplatform.json.datetime
com.holonplatform.json.exceptions - package com.holonplatform.json.exceptions
com.holonplatform.json.gson - package com.holonplatform.json.gson
com.holonplatform.json.gson.jaxrs - package com.holonplatform.json.gson.jaxrs
com.holonplatform.json.gson.spring - package com.holonplatform.json.gson.spring
com.holonplatform.json.gson.spring.boot - package com.holonplatform.json.gson.spring.boot
com.holonplatform.json.jackson - package com.holonplatform.json.jackson
com.holonplatform.json.jackson.jaxrs - package com.holonplatform.json.jackson.jaxrs
com.holonplatform.json.jackson.spring - package com.holonplatform.json.jackson.spring
com.holonplatform.json.jackson.spring.boot - package com.holonplatform.json.jackson.spring.boot
com.holonplatform.json.model - package com.holonplatform.json.model
configure(GsonBuilder) - Static method in interface com.holonplatform.json.gson.GsonConfiguration
  Configure given Gson `GsonBuilder`, registering serializers and deserializers for `PropertyBox` type handling and using the default `PropertyBox` serialization mode.
configure(GsonBuilder, PropertyBoxSerializationMode) - Static method in interface com.holonplatform.json.gson.GsonConfiguration
  Configure given Gson `GsonBuilder`, registering serializers and deserializers for `PropertyBox` type handling.
configure(FeatureContext) - Method in class com.holonplatform.json.gson.jaxrs.GsonFeature
configure(RestTemplate) - Static method in interface com.holonplatform.json.gson.spring.SpringGsonConfiguration
  Configure Spring RestTemplate, setting up serializers and deserializers for `PropertyBox` type handling in Gson HttpMessageConverters, if any.
configure(ObjectMapper) - Static method in interface com.holonplatform.json.jackson.JacksonConfiguration
  Configures given Jackson `ObjectMapper` in the following way: Registers `PropertyBox` type serializers and deserializers using the `PropertyBoxModule` Adds the `JavaTimeModule` to support the jdk8 java.time.* API data types Sets the `SerializationFeature.WRITE_DATES_AS_TIMESTAMPS` to `false`
configure(FeatureContext) - Method in class com.holonplatform.json.jackson.jaxrs.JacksonFeature
configure(RestTemplate) - Static method in interface com.holonplatform.json.jackson.spring.SpringJacksonConfiguration
  Configure Spring RestTemplate, setting up serializers and deserializers for `PropertyBox` type handling in Jackson HttpMessageConverters, if any.
CONTEXT_KEY - Static variable in interface com.holonplatform.json.Json
  Default `Context` resource reference
create() - Static method in interface com.holonplatform.json.gson.GsonJson
  Create a new `Json` instance using a default `GsonBuilder`.
create(GsonBuilder) - Static method in interface com.holonplatform.json.gson.GsonJson
  Create a new `Json` instance using a given `builder`.
create() - Static method in interface com.holonplatform.json.jackson.JacksonJson
  Create a new `Json` instance using a default `ObjectMapper`.
create(ObjectMapper) - Static method in interface com.holonplatform.json.jackson.JacksonJson
  Create a new `Json` instance using a given `objectMapper`.
create(String) - Static method in interface com.holonplatform.json.model.PropertySetSerializationNode
  Create a non-leaf `PropertySetSerializationNode`.
create(String, Property<?>) - Static method in interface com.holonplatform.json.model.PropertySetSerializationNode
  Create a leaf `PropertySetSerializationNode`.
CurrentSerializationTemporalType - Class in com.holonplatform.json.datetime
  Utility class to set the current `TemporalType` which has to be used for `java.util.Date` values JSON serialization using a `ThreadLocal`.

## D

DEFAULT_NAME - Static variable in interface com.holonplatform.json.config.JsonConfigProperties
  Configuration property set default name
DEFAULT_PRIORITY - Static variable in interface com.holonplatform.json.JsonProvider
  Default `JsonProvider` priority if not specified using `Priority` annotation.

## F

FEATURE_NAME - Static variable in class com.holonplatform.json.gson.jaxrs.GsonFeature
  Feature name
FEATURE_NAME - Static variable in class com.holonplatform.json.jackson.jaxrs.JacksonFeature
  Feature name
from(Reader) - Static method in interface com.holonplatform.json.JsonReader
  Build a `JsonReader` using given `Reader` as JSON data source.
from(String) - Static method in interface com.holonplatform.json.JsonReader
  Build a `JsonReader` using given String as JSON data source.
from(byte[]) - Static method in interface com.holonplatform.json.JsonReader
  Build a `JsonReader` using given byte array as JSON data source.
from(InputStream) - Static method in interface com.holonplatform.json.JsonReader
  Build a `JsonReader` using given `InputStream` as JSON data source and UTF-8 as charset.
from(InputStream, String) - Static method in interface com.holonplatform.json.JsonReader
  Build a `JsonReader` using given `InputStream` as JSON data source and given charset name.
from(InputStream, Charset) - Static method in interface com.holonplatform.json.JsonReader
  Build a `JsonReader` using given `InputStream` as JSON data source and given charset.
fromJson(JsonReader, Class<T>) - Method in interface com.holonplatform.json.Json
  Deserializes the specified JSON source into an object of the specified type.
fromJson(String, Class<T>) - Method in interface com.holonplatform.json.Json
  Deserializes the specified JSON string into an object of the specified type.
fromJson(JsonReader, Iterable<P>) - Method in interface com.holonplatform.json.Json
  Deserializes the specified JSON data source into a `PropertyBox`, using given `propertySet` as `PropertyBox` property set.
fromJson(JsonReader, Property...) - Method in interface com.holonplatform.json.Json
  Deserializes the specified JSON data source into a `PropertyBox`, using given `propertySet` as `PropertyBox` property set.
fromJson(String, Iterable<P>) - Method in interface com.holonplatform.json.Json
  Deserializes the specified JSON string into a `PropertyBox`, using given `propertySet` as `PropertyBox` property set.
fromJson(String, Property...) - Method in interface com.holonplatform.json.Json
  Deserializes the specified JSON string into a `PropertyBox`, using given `propertySet` as `PropertyBox` property set.
fromJsonArray(JsonReader, Class<T>) - Method in interface com.holonplatform.json.Json
  Deserializes the specified JSON array data source into a `List` of objects of the specified type.
fromJsonArray(String, Class<T>) - Method in interface com.holonplatform.json.Json
  Deserializes the specified JSON array string into a `List` of objects of the specified type.
fromJsonArray(JsonReader, Iterable<P>) - Method in interface com.holonplatform.json.Json
  Deserializes the specified JSON array data source into a list of `PropertyBox`, using given `propertySet` as `PropertyBox` property set.
fromJsonArray(JsonReader, Property...) - Method in interface com.holonplatform.json.Json
  Deserializes the specified JSON array data source into a list of `PropertyBox`, using given `propertySet` as `PropertyBox` property set.
fromJsonArray(String, Iterable<P>) - Method in interface com.holonplatform.json.Json
  Deserializes the specified JSON array string into a list of `PropertyBox`, using given `propertySet` as `PropertyBox` property set.
fromJsonArray(String, Property...) - Method in interface com.holonplatform.json.Json
  Deserializes the specified JSON array string into a list of `PropertyBox`, using given `propertySet` as `PropertyBox` property set.

## G

get() - Static method in interface com.holonplatform.json.Json
  Try to obtain a `Json` implementation, either from `Context`, if available using `Json.CONTEXT_KEY`, or relying on registered `JsonProvider`s and using the one with higher priority.
get(ClassLoader) - Static method in interface com.holonplatform.json.Json
  Try to obtain a `Json` implementation using given Classloader, either from `Context`, if available using `Json.CONTEXT_KEY`, or relying on registered `JsonProvider`s and using the one with higher priority.
getChildren() - Method in interface com.holonplatform.json.model.PropertySetSerializationNode
  Get the children nodes, if it isn't a leaf node.
getCurrentTemporalType() - Static method in class com.holonplatform.json.datetime.CurrentSerializationTemporalType
  Gets the current `TemporalType` to use for `java.util.Date` values JSON serialization.
getDefault() - Static method in enum com.holonplatform.json.config.PropertyBoxSerializationMode
  Get the default `PropertyBoxSerializationMode`.
getDefault() - Static method in interface com.holonplatform.json.model.JsonPropertySetSerializationTreeResolver
  Get the default `JsonPropertySetSerializationTreeResolver`.
getModuleName() - Method in class com.holonplatform.json.jackson.PropertyBoxModule
getName() - Method in interface com.holonplatform.json.model.PropertySetSerializationNode
  Get the node serialization name.
getProperty() - Method in interface com.holonplatform.json.model.PropertySetSerializationNode
  Get the property bound to this node, if it is a leaf node.
getReader() - Method in interface com.holonplatform.json.JsonReader
  Get the `Reader` to read the JSON data.
gson() - Method in class com.holonplatform.json.gson.spring.boot.GsonAutoConfiguration
GsonAutoConfiguration - Class in com.holonplatform.json.gson.spring.boot
  Spring boot auto-configuration to configure `Gson` bean, registering serializers and deserializers for `PropertyBox` type handling.
GsonAutoConfiguration() - Constructor for class com.holonplatform.json.gson.spring.boot.GsonAutoConfiguration
GsonConfiguration - Interface in com.holonplatform.json.gson
  Utility interface to handle Gson configuration for `PropertyBox` serializers and deserializers registration.
GsonFeature - Class in com.holonplatform.json.gson.jaxrs
  JAX-RS `Feature` to register Gson JSON providers and context resolver.
GsonFeature() - Constructor for class com.holonplatform.json.gson.jaxrs.GsonFeature
GsonJson - Interface in com.holonplatform.json.gson
  `Json` implementation using `Gson`.

## I

ISO8601DateModule - Class in com.holonplatform.json.jackson
  Jackson module to register ISO-8601 `Date` serializers.
ISO8601DateModule() - Constructor for class com.holonplatform.json.jackson.ISO8601DateModule

## J

JacksonAutoConfiguration - Class in com.holonplatform.json.jackson.spring.boot
  Spring boot auto-configuration to configure Jackson `ObjectMapper` bean, registering serializers and deserializers for `PropertyBox` type handling.
JacksonAutoConfiguration() - Constructor for class com.holonplatform.json.jackson.spring.boot.JacksonAutoConfiguration
JacksonConfiguration - Interface in com.holonplatform.json.jackson
  Utility interface to handle Jackson configuration.
JacksonFeature - Class in com.holonplatform.json.jackson.jaxrs
  JAX-RS `Feature` to register Jackson `PropertyBox` JSON serializers/deserializers and context resolver for properly configured `ObjectMapper`.
JacksonFeature() - Constructor for class com.holonplatform.json.jackson.jaxrs.JacksonFeature
JacksonJson - Interface in com.holonplatform.json.jackson
  `Json` implementation using Jackson `ObjectMapper`.
jacksonObjectMapperPostProcessor() - Static method in class com.holonplatform.json.jackson.spring.boot.JacksonAutoConfiguration
JAXRS_DISABLE_GSON_AUTO_CONFIG - Static variable in class com.holonplatform.json.gson.jaxrs.GsonFeature
  Property name to put in JAX-RS application configuration to disable Gson provider (message body reader and writer) and context resolver auto-configuration.
JAXRS_DISABLE_GSON_CONTEXT_RESOLVER - Static variable in class com.holonplatform.json.gson.jaxrs.GsonFeature
  Property name to put in JAX-RS application configuration to disable Gson context resolver auto-configuration only (message body reader and writer will be auto-configured).
JAXRS_DISABLE_JACKSON_AUTO_CONFIG - Static variable in class com.holonplatform.json.jackson.jaxrs.JacksonFeature
  Property name to put in JAX-RS application configuration to disable Jackson provider (message body reader and writer) and context resolver auto-configuration.
JAXRS_DISABLE_JACKSON_CONTEXT_RESOLVER - Static variable in class com.holonplatform.json.jackson.jaxrs.JacksonFeature
  Property name to put in JAX-RS application configuration to disable Jackson context resolver auto-configuration only (message body reader and writer will be auto-configured).
JAXRS_JSON_PRETTY_PRINT - Static variable in class com.holonplatform.json.gson.jaxrs.GsonFeature
  Property name to put in JAX-RS application configuration to enable JSON pretty print for the JSON message body writer.
JAXRS_JSON_PRETTY_PRINT - Static variable in class com.holonplatform.json.jackson.jaxrs.JacksonFeature
  Property name to put in JAX-RS application configuration to enable JSON pretty print for the JSON message body writer.
Json - Interface in com.holonplatform.json
  A simple API to serialize and deserialize Objects to and from JSON.
Json.JsonException - Exception in com.holonplatform.json
  Base Json exception class.
Json.JsonReadException - Exception in com.holonplatform.json
  Exception thrown for JSON deserialization errors.
Json.JsonWriteException - Exception in com.holonplatform.json
  Exception thrown for JSON serialization errors.
JsonConfigProperties - Interface in com.holonplatform.json.config
  A `ConfigPropertySet` for JSON serialization and deserialization configuration, using `JsonConfigProperties.DEFAULT_NAME` as property prefix.
JsonConfigProperties.JsonConfigPropertiesImpl - Class in com.holonplatform.json.config
  Default implementation
JsonConfigPropertiesImpl() - Constructor for class com.holonplatform.json.config.JsonConfigProperties.JsonConfigPropertiesImpl
JsonDeserializationException - Exception in com.holonplatform.json.exceptions
  Exception related to JSON deserialization errors.
JsonDeserializationException(String) - Constructor for exception com.holonplatform.json.exceptions.JsonDeserializationException
  Constructor with error message.
JsonDeserializationException(String, Throwable) - Constructor for exception com.holonplatform.json.exceptions.JsonDeserializationException
  Constructor with error message and cause.
JsonException(String) - Constructor for exception com.holonplatform.json.Json.JsonException
  Constructor with error message.
JsonException(String, Throwable) - Constructor for exception com.holonplatform.json.Json.JsonException
  Constructor with error message and cause.
JsonPropertySetSerializationTreeResolver - Interface in com.holonplatform.json.model
  A `PropertySetSerializationTreeResolver` with `PropertyBoxSerializationMode` support.
JsonProvider - Interface in com.holonplatform.json
  Concrete `Json` implementation provider.
JsonReader - Interface in com.holonplatform.json
  Represents a JSON encoded data source.
JsonReadException(String) - Constructor for exception com.holonplatform.json.Json.JsonReadException
  Constructor with error message.
JsonReadException(String, Throwable) - Constructor for exception com.holonplatform.json.Json.JsonReadException
  Constructor with error message and cause.
JsonSerializationException - Exception in com.holonplatform.json.exceptions
  Exception related to JSON serialization errors.
JsonSerializationException(String) - Constructor for exception com.holonplatform.json.exceptions.JsonSerializationException
  Constructor with error message.
JsonSerializationException(String, Throwable) - Constructor for exception com.holonplatform.json.exceptions.JsonSerializationException
  Constructor with error message and cause.
JsonWriteException(String) - Constructor for exception com.holonplatform.json.Json.JsonWriteException
  Constructor with error message.
JsonWriteException(String, Throwable) - Constructor for exception com.holonplatform.json.Json.JsonWriteException
  Constructor with error message and cause.
JsonWriter - Interface in com.holonplatform.json
  Represents a JSON serialization result, providing methods to obtain the JSON data in different formats.

## M

mapper() - Static method in interface com.holonplatform.json.jackson.JacksonConfiguration
  Create and configure a new Jackson `ObjectMapper`.

## P

preProcessor(Function<PropertySet<?>, Iterable<Property>>) - Method in interface com.holonplatform.json.model.PropertySetSerializationTreeResolver.Builder
  Set the property set pre-processor.
PROPERTYBOX_SERIALIZATION_MODE - Static variable in interface com.holonplatform.json.config.JsonConfigProperties
  `PropertyBox` serialization mode.
PROPERTYBOX_SERIALIZATION_MODE_ATTRIBUTE_NAME - Static variable in interface com.holonplatform.json.config.JsonConfigProperties
  PROPERTYBOX_SERIALIZATION_MODE configuration property complete name
PropertyBoxModule - Class in com.holonplatform.json.jackson
  Jackson module with `PropertyBox` serialization and deserialization capabilities.
PropertyBoxModule() - Constructor for class com.holonplatform.json.jackson.PropertyBoxModule
PropertyBoxSerializationMode - Enum in com.holonplatform.json.config
  Enumeration of `PropertyBox` property serialization mode when it is serialized as a JSON object.
PropertySetSerializationNode - Interface in com.holonplatform.json.model
  A `PropertySetSerializationTree` node.
PropertySetSerializationTree - Interface in com.holonplatform.json.model
  A representation of a `PropertySet` property serialization tree.
PropertySetSerializationTreeResolver - Interface in com.holonplatform.json.model
  Resolver to obtain a `PropertySetSerializationTree` from a `PropertySet` definition.
PropertySetSerializationTreeResolver.Builder - Interface in com.holonplatform.json.model
  `PropertySetSerializationTreeResolver` builder.
provide() - Method in interface com.holonplatform.json.JsonProvider
  Provides the `Json` implementation.

## R

removeCurrentTemporalType() - Static method in class com.holonplatform.json.datetime.CurrentSerializationTemporalType
  Removes the current `TemporalType` to use for `java.util.Date` values JSON serialization.
require() - Static method in interface com.holonplatform.json.Json
  Requires a `Json` implementation, either from `Context`, if available using `Json.CONTEXT_KEY`, or relying on registered `JsonProvider`s and using the one with higher priority.
resolve(PropertySet<?>, PropertyBoxSerializationMode) - Method in interface com.holonplatform.json.model.JsonPropertySetSerializationTreeResolver
  Resolve the `PropertySetSerializationTree` if given `PropertySet` definition.
resolve(PropertySet<?>) - Method in interface com.holonplatform.json.model.PropertySetSerializationTreeResolver
  Resolve the `PropertySetSerializationTree` if given `PropertySet` definition.

## S

setCurrentTemporalType(TemporalType) - Static method in class com.holonplatform.json.datetime.CurrentSerializationTemporalType
  Sets the current `TemporalType` to use for `java.util.Date` values JSON serialization.
setupModule(Module.SetupContext) - Method in class com.holonplatform.json.jackson.PropertyBoxModule
SpringGsonConfiguration - Interface in com.holonplatform.json.gson.spring
  Utility interface to handle Gson configuration in Spring environment.
SpringJacksonConfiguration - Interface in com.holonplatform.json.jackson.spring
  Utility interface to handle Jackson configuration in Spring environment.

## T

toJson(Object) - Method in interface com.holonplatform.json.Json
  Serialize given `value` to JSON.
toJsonArray(Class<T>, Collection<T>) - Method in interface com.holonplatform.json.Json
  Serialize given collection of values as a JSON array.
toJsonArray(Class<T>, T...) - Method in interface com.holonplatform.json.Json
  Serialize given array of values as a JSON array.
toJsonArrayString(Class<T>, Collection<T>) - Method in interface com.holonplatform.json.Json
  Serialize given collection of values as a JSON array string.
toJsonArrayString(Class<T>, T...) - Method in interface com.holonplatform.json.Json
  Serialize given array of values as a JSON array string.
toJsonString(Object) - Method in interface com.holonplatform.json.Json
  Serialize given `value` to a JSON string.

## V

validator(Predicate<Property<?>>) - Method in interface com.holonplatform.json.model.PropertySetSerializationTreeResolver.Builder
  Set the property set property validator.
valueOf(String) - Static method in enum com.holonplatform.json.config.PropertyBoxSerializationMode
  Returns the enum constant of this type with the specified name.
values() - Static method in enum com.holonplatform.json.config.PropertyBoxSerializationMode
  Returns an array containing the constants of this enum type, in the order they are declared.
version() - Method in class com.holonplatform.json.jackson.PropertyBoxModule

## W

write(Appendable) - Method in interface com.holonplatform.json.JsonWriter
  Write the JSON data to given `Appendable` writer.
write(OutputStream) - Method in interface com.holonplatform.json.JsonWriter
  Write the JSON data to given `OutputStream`, using the UTF-8 charset for encoding.
write(OutputStream, String) - Method in interface com.holonplatform.json.JsonWriter
  Write the JSON data to given `OutputStream`, using the given charset name for encoding.
write(OutputStream, Charset) - Method in interface com.holonplatform.json.JsonWriter
  Write the JSON data to given `OutputStream`, using the given `Charset` for encoding.

A B C D F G I J M P R S T V W

Copyright © 2019 The Holon Platform. All rights reserved.