Uses of Class
org.apache.juneau.collections.JsonMap
Packages that use JsonMap
Package
Description
REST Server API
REST Client API
-
Uses of JsonMap in org.apache.juneau
Methods in org.apache.juneau that return JsonMapModifier and TypeMethodDescriptionfinal JsonMap
BeanTraverseSession.getLastLocation()
Returns information used to determine at what location in the parse a failure occurred.final JsonMap
ContextSession.getSessionProperties()
Returns the session properties on this session.protected JsonMap
BeanContext.properties()
protected JsonMap
BeanContextable.properties()
protected JsonMap
BeanTraverseContext.properties()
protected JsonMap
BeanTraverseSession.properties()
protected JsonMap
Context.properties()
Returns the properties on this bean as a map for debugging.protected JsonMap
ContextSession.properties()
Returns the properties on this bean as a map for debugging. -
Uses of JsonMap in org.apache.juneau.annotation
Methods in org.apache.juneau.annotation that return JsonMapModifier and TypeMethodDescriptionstatic JsonMap
Converts the specified@Schema annotation into a generic map.static JsonMap
ExternalDocsAnnotation.merge
(JsonMap m, ExternalDocs a) Merges the contents of the specified annotation into the specified generic map.static JsonMap
Merges the contents of the specified annotation into the specified generic map.AnnotationImpl.toMap()
Returns this annotation as a map of key/value pairs.Methods in org.apache.juneau.annotation with parameters of type JsonMapModifier and TypeMethodDescriptionstatic JsonMap
ExternalDocsAnnotation.merge
(JsonMap m, ExternalDocs a) Merges the contents of the specified annotation into the specified generic map.static JsonMap
Merges the contents of the specified annotation into the specified generic map. -
Uses of JsonMap in org.apache.juneau.bean.openapi3
Methods in org.apache.juneau.bean.openapi3 that return JsonMap -
Uses of JsonMap in org.apache.juneau.bean.swagger
Methods in org.apache.juneau.bean.swagger that return JsonMapModifier and TypeMethodDescriptionSwaggerElement.asMap()
Returns a copy of this swagger element as a modifiable map.Methods in org.apache.juneau.bean.swagger that return types with arguments of type JsonMapMethods in org.apache.juneau.bean.swagger with parameters of type JsonMapModifier and TypeMethodDescriptionSwagger.addDefinition
(String name, JsonMap schema) Bean property appender:definitions .Method parameters in org.apache.juneau.bean.swagger with type arguments of type JsonMapModifier and TypeMethodDescriptionSwagger.setDefinitions
(Map<String, JsonMap> value) Bean property setter:definitions . -
Uses of JsonMap in org.apache.juneau.collections
Subclasses of JsonMap in org.apache.juneau.collectionsModifier and TypeClassDescriptionclass
Utility class to make it easier to work with command-line arguments pass in through amain(String[] args) method.Fields in org.apache.juneau.collections declared as JsonMapModifier and TypeFieldDescriptionstatic final JsonMap
JsonMap.EMPTY_MAP
An empty read-only JsonMap.Methods in org.apache.juneau.collections that return JsonMapModifier and TypeMethodDescriptionAdds an entry to this map.Appends all the entries in the specified map to this map.final <T> JsonMap
JsonMap.appendFirst
(Predicate<T> test, String key, T... values) Adds the first value that matches the specified predicate.Add if flag istrue .<T> JsonMap
Add if predicate matches value.JsonMap.appendIfAbsent
(String key, Object value) Adds a value in this map if the entry does not exist or the current value isnull .<T> JsonMap
JsonMap.appendIfAbsentIf
(Predicate<T> predicate, String key, T value) Adds a value in this map if the entry does not exist or the current value isnull and the value matches the specified predicate.static JsonMap
JsonMap.create()
Construct an empty map.Returns a copy of thisJsonMap without the specified keys.JsonMap.filtered()
Enables filtering based on default values.Enables filtering based on a predicate test.static JsonMap
JsonMap.filteredMap()
Construct an empty map.static JsonMap
JsonMap.filteredMap
(Object... keyValuePairs) Construct a map initialized with the specified key/value pairs.Returns the first entry that exists converted to aJsonMap
.JsonList.getMap
(int index) Shortcut for callingget(index, JsonMap.
.class )Returns the specified entry value converted to aMap
.Same asgetMap(String)
but creates a new emptyJsonMap
if it doesn't already exist.Returns the specified entry value converted to aJsonMap
.Returns a copy of thisJsonMap with only the specified keys.Set an inner map in this map to allow for chained get calls.The opposite ofremoveAll(String...)
.JsonMap.modifiable()
Returns a modifiable copy of this map if it's unmodifiable.static JsonMap
Construct a map initialized with the specified key/value pairs.static JsonMap
Construct a map initialized with the specified map.static JsonMap
Construct a map initialized with the specified reader containing JSON.static JsonMap
JsonMap.ofJson
(CharSequence json) Construct a map initialized with the specified JSON string.static JsonMap
Construct a map initialized with the specified string.static JsonMap
JsonMap.ofText
(CharSequence in, Parser p) Construct a map initialized with the specified string.JsonMap.session
(BeanSession session) Override the default bean session used for converting POJOs.JsonMap.setBeanSession
(BeanSession value) Sets theBeanSession
currently associated with this map.JsonMap.unmodifiable()
Returns an unmodifiable copy of this map if it's modifiable.Convenience method for serializing this map to the specifiedWriter using theJsonSerializer.DEFAULT
serializer.Methods in org.apache.juneau.collections with parameters of type JsonMap -
Uses of JsonMap in org.apache.juneau.config
Methods in org.apache.juneau.config that return JsonMapModifier and TypeMethodDescriptionConfig.toMap()
Returns the contents of this config as a simple map.Methods in org.apache.juneau.config that return types with arguments of type JsonMap -
Uses of JsonMap in org.apache.juneau.config.internal
Methods in org.apache.juneau.config.internal that return JsonMap -
Uses of JsonMap in org.apache.juneau.config.store
Methods in org.apache.juneau.config.store that return JsonMap -
Uses of JsonMap in org.apache.juneau.cp
Methods in org.apache.juneau.cp that return JsonMapModifier and TypeMethodDescriptionprotected JsonMap
BeanStoreEntry.properties()
Returns the properties in this object as a simple map for debugging purposes. -
Uses of JsonMap in org.apache.juneau.html
Methods in org.apache.juneau.html that return JsonMapModifier and TypeMethodDescriptionprotected JsonMap
HtmlDocSerializer.properties()
protected JsonMap
HtmlDocSerializerSession.properties()
protected JsonMap
HtmlSchemaSerializer.properties()
protected JsonMap
HtmlSerializer.properties()
-
Uses of JsonMap in org.apache.juneau.internal
Subclasses of JsonMap in org.apache.juneau.internalModifier and TypeClassDescriptionclass
DelegateMap<T extends Map>
Represents a wrappedMap
where entries in the map can be removed without affecting the underlying map.Methods in org.apache.juneau.internal that return JsonMapModifier and TypeMethodDescriptionstatic JsonMap
Utils2.toPropertyMap
(Object o) Searches for allproperties() methods on the specified object and creates a combine map of them. -
Uses of JsonMap in org.apache.juneau.json
Methods in org.apache.juneau.json that return JsonMapModifier and TypeMethodDescriptionprotected JsonMap
JsonSchemaSerializer.properties()
protected JsonMap
JsonSerializer.properties()
-
Uses of JsonMap in org.apache.juneau.jsonschema
Methods in org.apache.juneau.jsonschema that return JsonMapModifier and TypeMethodDescriptionprotected JsonMap
JsonSchemaBeanPropertyMeta.getSchema()
Returns the schema information gathered from all the@Schema
annotations on the bean property.protected JsonMap
JsonSchemaClassMeta.getSchema()
Returns the@Schema
annotation defined on the class.Returns the JSON-schema for the specified object.Returns the JSON-schema for the specified type.Returns the JSON-schema for the specified type.static JsonMap
Parses a generic object as JSON and converts it to anJsonMap
.static JsonMap
Concatenates and parses a string array as a JSON object.protected JsonMap
JsonSchemaGenerator.properties()
Methods in org.apache.juneau.jsonschema that return types with arguments of type JsonMapModifier and TypeMethodDescriptionJsonSchemaGeneratorSession.getBeanDefs()
Returns the definitions that were gathered during this session.Methods in org.apache.juneau.jsonschema with parameters of type JsonMapModifier and TypeMethodDescriptionJsonSchemaGeneratorSession.addBeanDef
(String id, JsonMap def) Adds a schema definition to this session. -
Uses of JsonMap in org.apache.juneau.microservice.resources
Methods in org.apache.juneau.microservice.resources that return JsonMapModifier and TypeMethodDescriptionConfigResource.getConfig()
ConfigResource.getConfigSection
(String section) ConfigResource.setConfigContents
(Reader contents) ConfigResource.setConfigContentsFormPost
(String contents) ConfigResource.setConfigSection
(String section, Map<String, Object> contents) -
Uses of JsonMap in org.apache.juneau.msgpack
Methods in org.apache.juneau.msgpack that return JsonMap -
Uses of JsonMap in org.apache.juneau.objecttools
Methods in org.apache.juneau.objecttools that return JsonMapModifier and TypeMethodDescriptionObjectRest.getJsonMap
(String url) Returns the specified entry value converted to aMap
.ObjectRest.getJsonMap
(String url, JsonMap defVal) Returns the specified entry value converted to aJsonMap
.Methods in org.apache.juneau.objecttools with parameters of type JsonMapModifier and TypeMethodDescriptionObjectRest.getJsonMap
(String url, JsonMap defVal) Returns the specified entry value converted to aJsonMap
. -
Uses of JsonMap in org.apache.juneau.parser
Methods in org.apache.juneau.parser that return JsonMapModifier and TypeMethodDescriptionfinal JsonMap
ParserSession.getLastLocation()
Returns information used to determine at what location in the parse a failure occurred.protected JsonMap
InputStreamParser.properties()
protected JsonMap
Parser.properties()
protected JsonMap
ParserSession.properties()
protected JsonMap
ReaderParser.properties()
protected JsonMap
ReaderParserSession.properties()
Methods in org.apache.juneau.parser with parameters of type JsonMapModifier and TypeMethodDescriptionprotected final Object
ParserSession.cast
(JsonMap m, BeanPropertyMeta pMeta, ClassMeta<?> eType) Converts the specifiedJsonMap into a bean identified by the"_type" property in the map. -
Uses of JsonMap in org.apache.juneau.reflect
Methods in org.apache.juneau.reflect that return JsonMap -
Uses of JsonMap in org.apache.juneau.rest
Methods in org.apache.juneau.rest that return JsonMapModifier and TypeMethodDescriptionprotected JsonMap
RestContext.properties()
protected JsonMap
RestOpContext.properties()
-
Uses of JsonMap in org.apache.juneau.rest.client
Methods in org.apache.juneau.rest.client that return JsonMapModifier and TypeMethodDescriptionprotected JsonMap
RestClient.properties()
protected JsonMap
RestRequest.properties()
-
Uses of JsonMap in org.apache.juneau.serializer
Methods in org.apache.juneau.serializer that return JsonMapModifier and TypeMethodDescriptionprotected JsonMap
OutputStreamSerializer.properties()
protected JsonMap
Serializer.properties()
protected JsonMap
SerializerSession.properties()
protected JsonMap
WriterSerializer.properties()
protected JsonMap
WriterSerializerSession.properties()
-
Uses of JsonMap in org.apache.juneau.soap
Methods in org.apache.juneau.soap that return JsonMap -
Uses of JsonMap in org.apache.juneau.svl
Subclasses of JsonMap in org.apache.juneau.svlModifier and TypeClassDescriptionclass
Subclass of anJsonMap
that automatically resolves any SVL variables in values. -
Uses of JsonMap in org.apache.juneau.swap
Methods in org.apache.juneau.swap that return JsonMapMethods in org.apache.juneau.swap with parameters of type JsonMapModifier and TypeMethodDescriptionMapSwap.unswap
(BeanSession session, JsonMap f, ClassMeta<?> hint) -
Uses of JsonMap in org.apache.juneau.uon
Methods in org.apache.juneau.uon that return JsonMapModifier and TypeMethodDescriptionprotected JsonMap
UonParser.properties()
protected JsonMap
UonParserSession.properties()
protected JsonMap
UonSerializer.properties()
-
Uses of JsonMap in org.apache.juneau.urlencoding
Methods in org.apache.juneau.urlencoding that return JsonMapModifier and TypeMethodDescriptionprotected JsonMap
UrlEncodingParser.properties()
protected JsonMap
UrlEncodingSerializer.properties()
-
Uses of JsonMap in org.apache.juneau.utils
Subclasses of JsonMap in org.apache.juneau.utilsModifier and TypeClassDescriptionclass
Utility class for working with Jar manifest files.Methods in org.apache.juneau.utils that return JsonMap -
Uses of JsonMap in org.apache.juneau.xml
Methods in org.apache.juneau.xml that return JsonMapModifier and TypeMethodDescriptionprotected JsonMap
XmlParser.properties()
protected JsonMap
XmlSerializer.properties()