Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- additionalTypes - Variable in class io.micronaut.json.codec.MapperMediaTypeCodec
- applicationConfiguration - Variable in class io.micronaut.json.codec.MapperMediaTypeCodec
C
- cloneWithFeatures(JsonFeatures) - Method in interface io.micronaut.json.JsonMapper
-
Create a copy of this mapper with the given json features as returned by
JsonMapper.detectFeatures(io.micronaut.core.annotation.AnnotationMetadata). - cloneWithFeatures(JsonFeatures) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
-
Create a copy of this codec with the given features.
- cloneWithMapper(JsonMapper) - Method in class io.micronaut.json.codec.JsonMediaTypeCodec
- cloneWithMapper(JsonMapper) - Method in class io.micronaut.json.codec.JsonStreamMediaTypeCodec
- cloneWithMapper(JsonMapper) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- cloneWithViewClass(Class<?>) - Method in interface io.micronaut.json.JsonMapper
-
Create a copy of this mapper with the given view class.
- cloneWithViewClass(Class<?>) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- codecConfiguration - Variable in class io.micronaut.json.codec.MapperMediaTypeCodec
- coerceStringValue() - Method in class io.micronaut.json.tree.JsonNode
-
Attempt to coerce this node to a string.
- CONFIGURATION_QUALIFIER - Static variable in class io.micronaut.json.codec.JsonMediaTypeCodec
- CONFIGURATION_QUALIFIER - Static variable in class io.micronaut.json.codec.JsonStreamMediaTypeCodec
- createArrayNode(List<JsonNode>) - Static method in class io.micronaut.json.tree.JsonNode
- createBooleanNode(boolean) - Static method in class io.micronaut.json.tree.JsonNode
- createDefault() - Static method in interface io.micronaut.json.JsonMapper
-
Resolves the default
JsonMapper. - createNumberNode(double) - Static method in class io.micronaut.json.tree.JsonNode
- createNumberNode(float) - Static method in class io.micronaut.json.tree.JsonNode
- createNumberNode(int) - Static method in class io.micronaut.json.tree.JsonNode
- createNumberNode(long) - Static method in class io.micronaut.json.tree.JsonNode
- createNumberNode(BigDecimal) - Static method in class io.micronaut.json.tree.JsonNode
- createNumberNode(BigInteger) - Static method in class io.micronaut.json.tree.JsonNode
- createNumberNodeImpl(Number) - Static method in class io.micronaut.json.tree.JsonNode
-
Hidden, so that we don't have to check that the number type is supported.
- createObjectNode(Map<String, JsonNode>) - Static method in class io.micronaut.json.tree.JsonNode
- createReactiveParser(Consumer<Processor<byte[], JsonNode>>, boolean) - Method in interface io.micronaut.json.JsonMapper
-
Deprecated.
- createSpecific(Argument<?>) - Method in interface io.micronaut.json.JsonMapper
-
Specialize this mapper for the given type.
- createSpecific(Argument<T>) - Method in class io.micronaut.json.body.JsonMessageHandler
- createStringNode(String) - Static method in class io.micronaut.json.tree.JsonNode
D
- decode(Argument<T>, byte[]) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- decode(Argument<T>, ByteBuffer<?>) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- decode(Argument<T>, JsonNode) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
-
Decodes the given JSON node.
- decode(Argument<T>, InputStream) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- decode(Argument<T>, String) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- DEFAULT - Static variable in class io.micronaut.json.JsonStreamConfig
-
The default stream configuration.
- deserialize(byte[], Argument<T>) - Method in class io.micronaut.json.JsonObjectSerializer
- deserialize(byte[], Class<T>) - Method in class io.micronaut.json.JsonObjectSerializer
- deserialize(InputStream, Argument<T>) - Method in class io.micronaut.json.JsonObjectSerializer
- deserialize(InputStream, Class<T>) - Method in class io.micronaut.json.JsonObjectSerializer
- detectFeatures(AnnotationMetadata) - Method in interface io.micronaut.json.JsonMapper
-
Detect
JsonFeaturesfrom the given annotation data.
E
- encode(Argument<T>, T) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- encode(Argument<T>, T, ByteBufferFactory<?, B>) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- encode(Argument<T>, T, OutputStream) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- encode(T) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- encode(T, ByteBufferFactory<?, B>) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- encode(T, OutputStream) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- entries() - Method in class io.micronaut.json.tree.JsonArray
- entries() - Method in class io.micronaut.json.tree.JsonNode
- entries() - Method in class io.micronaut.json.tree.JsonObject
- equals(Object) - Method in class io.micronaut.json.tree.JsonArray
- equals(Object) - Method in class io.micronaut.json.tree.JsonObject
F
- from(Object) - Static method in class io.micronaut.json.tree.JsonNode
-
Create a new
JsonNoderepresenting this value.
G
- get(int) - Method in class io.micronaut.json.tree.JsonArray
- get(int) - Method in class io.micronaut.json.tree.JsonNode
- get(int) - Method in class io.micronaut.json.tree.JsonObject
- get(String) - Method in class io.micronaut.json.tree.JsonArray
- get(String) - Method in class io.micronaut.json.tree.JsonNode
- get(String) - Method in class io.micronaut.json.tree.JsonObject
- get(CharSequence, ArgumentConversionContext<T>) - Method in class io.micronaut.json.convert.JsonNodeConvertibleValues
- getArraySizeThreshold() - Method in interface io.micronaut.json.JsonConfiguration
- getBigDecimalValue() - Method in class io.micronaut.json.tree.JsonNode
- getBigIntegerValue() - Method in class io.micronaut.json.tree.JsonNode
- getBooleanValue() - Method in class io.micronaut.json.tree.JsonNode
- getConversionService() - Method in class io.micronaut.json.convert.JsonNodeConvertibleValues
- getDoubleValue() - Method in class io.micronaut.json.tree.JsonNode
- getFloatValue() - Method in class io.micronaut.json.tree.JsonNode
- getIntValue() - Method in class io.micronaut.json.tree.JsonNode
- getJsonMapper() - Method in class io.micronaut.json.body.JsonMessageHandler
-
Get the json mapper used by this handler.
- getJsonMapper() - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- getLongValue() - Method in class io.micronaut.json.tree.JsonNode
- getMediaTypes() - Method in class io.micronaut.json.codec.JsonStreamMediaTypeCodec
- getMediaTypes() - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
- getNumberValue() - Method in class io.micronaut.json.tree.JsonNode
- getStreamConfig() - Method in interface io.micronaut.json.JsonMapper
- getStringValue() - Method in class io.micronaut.json.tree.JsonNode
- getValue() - Method in class io.micronaut.json.tree.JsonArray
- getValue() - Method in class io.micronaut.json.tree.JsonNode
-
Get the value reprinting this node.
- getValue() - Method in class io.micronaut.json.tree.JsonObject
H
- hashCode() - Method in class io.micronaut.json.tree.JsonArray
- hashCode() - Method in class io.micronaut.json.tree.JsonObject
I
- io.micronaut.json - package io.micronaut.json
- io.micronaut.json.bind - package io.micronaut.json.bind
-
Jackson bean binding to properties.
- io.micronaut.json.body - package io.micronaut.json.body
- io.micronaut.json.codec - package io.micronaut.json.codec
- io.micronaut.json.convert - package io.micronaut.json.convert
- io.micronaut.json.tree - package io.micronaut.json.tree
- isAlwaysSerializeErrorsAsList() - Method in interface io.micronaut.json.JsonConfiguration
-
Whether _embedded.errors should always be serialized as list.
- isArray() - Method in class io.micronaut.json.tree.JsonArray
- isArray() - Method in class io.micronaut.json.tree.JsonNode
- isBoolean() - Method in class io.micronaut.json.tree.JsonNode
- isContainerNode() - Method in class io.micronaut.json.tree.JsonArray
- isContainerNode() - Method in class io.micronaut.json.tree.JsonNode
- isNull() - Method in class io.micronaut.json.tree.JsonNode
- isNumber() - Method in class io.micronaut.json.tree.JsonNode
- isObject() - Method in class io.micronaut.json.tree.JsonNode
- isObject() - Method in class io.micronaut.json.tree.JsonObject
- isReadable(Argument<T>, MediaType) - Method in class io.micronaut.json.body.JsonMessageHandler
- isString() - Method in class io.micronaut.json.tree.JsonNode
- isValueNode() - Method in class io.micronaut.json.tree.JsonNode
- isWriteable(Argument<T>, MediaType) - Method in class io.micronaut.json.body.JsonMessageHandler
J
- JSON_ADDITIONAL_TYPES - Static variable in class io.micronaut.json.codec.JsonMediaTypeCodec
- JsonArray - Class in io.micronaut.json.tree
-
Public to allow special handling for conversion service.
- JsonBeanPropertyBinderExceptionHandler - Interface in io.micronaut.json.bind
-
Exception handler interface that converts json binding exceptions to more specific
ConversionErrorExceptions. - JsonConfiguration - Interface in io.micronaut.json
-
Base interface for application-level json configuration.
- JsonConverterRegistrar - Class in io.micronaut.json.convert
-
Converter registrar for json.
- JsonConverterRegistrar(BeanProvider<JsonMapper>, ConversionService, BeanProvider<BeanPropertyBinder>) - Constructor for class io.micronaut.json.convert.JsonConverterRegistrar
- JsonFeatures - Interface in io.micronaut.json
-
Base interface for json feature classes that can be scanned from annotations.
- JsonMapper - Interface in io.micronaut.json
-
Common abstraction for mapping json to data structures.
- JsonMapperSupplier - Interface in io.micronaut.json
-
Strategy interface for resolving a
JsonMapper. - JsonMediaTypeCodec - Class in io.micronaut.json.codec
-
A
MediaTypeCodecfor JSON and Jackson. - JsonMediaTypeCodec(BeanProvider<JsonMapper>, ApplicationConfiguration, CodecConfiguration) - Constructor for class io.micronaut.json.codec.JsonMediaTypeCodec
- JsonMediaTypeCodec(JsonMapper, ApplicationConfiguration, CodecConfiguration) - Constructor for class io.micronaut.json.codec.JsonMediaTypeCodec
- JsonMessageHandler<T> - Class in io.micronaut.json.body
-
Body handler for JSON.
- JsonMessageHandler(JsonMapper) - Constructor for class io.micronaut.json.body.JsonMessageHandler
- JsonNode - Class in io.micronaut.json.tree
-
Immutable class representing a json node.
- JsonNodeConvertibleValues<V> - Class in io.micronaut.json.convert
-
Simple facade over a
JsonNodeto make it aConvertibleValues. - JsonNodeConvertibleValues(JsonNode, ConversionService) - Constructor for class io.micronaut.json.convert.JsonNodeConvertibleValues
- JsonObject - Class in io.micronaut.json.tree
-
Public to allow special handling for conversion service.
- JsonObjectSerializer - Class in io.micronaut.json
-
An implementation of the
ObjectSerializerinterface for Jackson. - JsonObjectSerializer(JsonMapper) - Constructor for class io.micronaut.json.JsonObjectSerializer
- JsonStreamConfig - Class in io.micronaut.json
-
Configuration for json stream parsing and generation.
- JsonStreamMediaTypeCodec - Class in io.micronaut.json.codec
-
A codec for
MediaType.APPLICATION_JSON_STREAM. - JsonStreamMediaTypeCodec(BeanProvider<JsonMapper>, ApplicationConfiguration, CodecConfiguration) - Constructor for class io.micronaut.json.codec.JsonStreamMediaTypeCodec
- JsonStreamMediaTypeCodec(JsonMapper, ApplicationConfiguration, CodecConfiguration) - Constructor for class io.micronaut.json.codec.JsonStreamMediaTypeCodec
- JsonSyntaxException - Exception in io.micronaut.json
-
Exception thrown when there is a syntax error in JSON (e.g.
- JsonSyntaxException(String) - Constructor for exception io.micronaut.json.JsonSyntaxException
-
Construct a syntax exception with just a message.
- JsonSyntaxException(Throwable) - Constructor for exception io.micronaut.json.JsonSyntaxException
-
Construct a syntax exception from a framework exception (e.g.
L
- LazyJsonNode - Class in io.micronaut.json.convert
-
Lazily parsed
JsonNode. - LazyJsonNode(ByteBuffer<?>) - Constructor for class io.micronaut.json.convert.LazyJsonNode
M
- MapperMediaTypeCodec - Class in io.micronaut.json.codec
-
A
MediaTypeCodecforJsonMapperbased implementations. - MapperMediaTypeCodec(BeanProvider<JsonMapper>, ApplicationConfiguration, CodecConfiguration, MediaType) - Constructor for class io.micronaut.json.codec.MapperMediaTypeCodec
- MapperMediaTypeCodec(BeanProvider<JsonMapper>, ApplicationConfiguration, CodecConfiguration, MediaType, List<MediaType>) - Constructor for class io.micronaut.json.codec.MapperMediaTypeCodec
- MapperMediaTypeCodec(JsonMapper, ApplicationConfiguration, CodecConfiguration, MediaType) - Constructor for class io.micronaut.json.codec.MapperMediaTypeCodec
- mapToObjectConverter() - Method in class io.micronaut.json.convert.JsonConverterRegistrar
- mediaType - Variable in class io.micronaut.json.codec.MapperMediaTypeCodec
N
- names() - Method in class io.micronaut.json.convert.JsonNodeConvertibleValues
- nullNode() - Static method in class io.micronaut.json.tree.JsonNode
P
- parse(JsonMapper, Argument<T>) - Method in class io.micronaut.json.convert.LazyJsonNode
-
Parse this JSON to the given type.
R
- read(Argument<T>, MediaType, Headers, ByteBuffer<?>) - Method in class io.micronaut.json.body.JsonMessageHandler
- read(Argument<T>, MediaType, Headers, InputStream) - Method in class io.micronaut.json.body.JsonMessageHandler
- readValue(byte[], Argument<T>) - Method in interface io.micronaut.json.JsonMapper
-
Parse and map json from the given byte array.
- readValue(byte[], Class<T>) - Method in interface io.micronaut.json.JsonMapper
-
Read a value from the byte array for the given type.
- readValue(ByteBuffer<?>, Argument<T>) - Method in interface io.micronaut.json.JsonMapper
-
Parse and map json from the given byte buffer.
- readValue(InputStream, Argument<T>) - Method in interface io.micronaut.json.JsonMapper
-
Parse and map json from the given stream.
- readValue(InputStream, Class<T>) - Method in interface io.micronaut.json.JsonMapper
-
Read a value from the given input stream for the given type.
- readValue(String, Argument<T>) - Method in interface io.micronaut.json.JsonMapper
-
Parse and map json from the given string.
- readValue(String, Class<T>) - Method in interface io.micronaut.json.JsonMapper
-
Read a value from the given string for the given type.
- readValueFromTree(JsonNode, Argument<T>) - Method in interface io.micronaut.json.JsonMapper
-
Transform a
JsonNodeto a value of the given type. - readValueFromTree(JsonNode, Class<T>) - Method in interface io.micronaut.json.JsonMapper
-
Transform a
JsonNodeto a value of the given type. - register(MutableConversionService) - Method in class io.micronaut.json.convert.JsonConverterRegistrar
- REGULAR_JSON_MEDIA_TYPE_CODEC_NAME - Static variable in class io.micronaut.json.codec.MapperMediaTypeCodec
- release() - Method in class io.micronaut.json.convert.LazyJsonNode
- retain() - Method in class io.micronaut.json.convert.LazyJsonNode
S
- serialize(Object) - Method in class io.micronaut.json.JsonObjectSerializer
- serialize(Object, OutputStream) - Method in class io.micronaut.json.JsonObjectSerializer
- size() - Method in class io.micronaut.json.tree.JsonArray
- size() - Method in class io.micronaut.json.tree.JsonNode
- size() - Method in class io.micronaut.json.tree.JsonObject
- supportsType(Class<?>) - Method in class io.micronaut.json.codec.MapperMediaTypeCodec
T
- toConversionError(Object, Exception) - Method in interface io.micronaut.json.bind.JsonBeanPropertyBinderExceptionHandler
-
Attempt to convert the given exception to a
ConversionErrorException. - tryRelease() - Method in class io.micronaut.json.convert.LazyJsonNode
-
Try to release this node if it hasn't been released already.
U
- updateValueFromTree(Object, JsonNode) - Method in interface io.micronaut.json.JsonMapper
-
Update an object from json data.
- useBigDecimalForFloats() - Method in class io.micronaut.json.JsonStreamConfig
- useBigIntegerForInts() - Method in class io.micronaut.json.JsonStreamConfig
V
- values() - Method in class io.micronaut.json.convert.JsonNodeConvertibleValues
- values() - Method in class io.micronaut.json.tree.JsonArray
- values() - Method in class io.micronaut.json.tree.JsonNode
- values() - Method in class io.micronaut.json.tree.JsonObject
W
- withUseBigDecimalForFloats(boolean) - Method in class io.micronaut.json.JsonStreamConfig
-
Whether all normal floating point literals should be represented as
BigDecimal. - withUseBigIntegerForInts(boolean) - Method in class io.micronaut.json.JsonStreamConfig
- writeTo(Argument<T>, MediaType, T, MutableHeaders, OutputStream) - Method in class io.micronaut.json.body.JsonMessageHandler
- writeValue(OutputStream, Argument<T>, T) - Method in interface io.micronaut.json.JsonMapper
-
Write an object as json.
- writeValue(OutputStream, Object) - Method in interface io.micronaut.json.JsonMapper
-
Write an object as json.
- writeValueAsBytes(Argument<T>, T) - Method in interface io.micronaut.json.JsonMapper
-
Write an object as json.
- writeValueAsBytes(Object) - Method in interface io.micronaut.json.JsonMapper
-
Write an object as json.
- writeValueAsString(Argument<T>, T) - Method in interface io.micronaut.json.JsonMapper
-
Write the given value as a string.
- writeValueAsString(Argument<T>, T, Charset) - Method in interface io.micronaut.json.JsonMapper
-
Write the given value as a string.
- writeValueAsString(Object) - Method in interface io.micronaut.json.JsonMapper
-
Write the given value as a string.
- writeValueToTree(Argument<T>, T) - Method in interface io.micronaut.json.JsonMapper
-
Transform an object value to a json tree.
- writeValueToTree(Object) - Method in interface io.micronaut.json.JsonMapper
-
Transform an object value to a json tree.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form