Uses of Class
org.apache.juneau.marshall.collections.JsonMap
Packages that use JsonMap
Package
Description
JSON Schema Data Transfer Objects
Juneau
@Marshalled types for the Model Context Protocol (MCP) wire format.Swagger Data Transfer Objects
Swagger Data Transfer Objects
Configuration Support
Internal classes
Engine-agnostic themeable admin-console chrome:
Theme, the stock
theme stylesheets, the bundled chrome.css asset, and
ConsoleChromeMixin.Server half of the console message bus.
Server helpers for console data sources:
SeriesSource streams
rows as CSV or NDJSON, and SeriesAggregator answers the
aggregate request a data source sends when its result is too large to load raw.FreeMarker-only delivery of the admin-console chrome: the reserved-classpath
base.ftlh template, the
<@tag> macro, and ConsoleFreemarkerMixin
(registers a reserved-path ClassTemplateLoader on top of the host's own FreemarkerMixin
configuration).Test helpers for console pages:
PageContractAssert asserts on the
#juneau-page contract of a rendered page instead of on rendered chrome HTML, and
AssetResolutionAssert asserts that every asset a page links resolves.A typed, declarative "rich DataTables view" toolkit that serializes to the frozen
VIEW_META JSON wire
contract consumed by the first-party client runtime.Marshalling API
Collections classes.
Internal Utilities
JSON-Schema Marshalling Support
Java Object Tools
Parser API
UON Marshalling Support
URL-Encoding Annotations
Example / demo Microservice REST Resources
Actuator-style management-surface endpoints (microservice-module flavors).
Petstore admin console: the
/console page tree.Petstore console Developer pages: custom cards, themes, rendering flavors and the secure API demo.
Petstore console operations pages: background jobs and the audit log.
Petstore console orders page and its JSON endpoints.
Petstore console pets pages and their JSON endpoints.
Petstore console users page and its JSON endpoints.
Revision-neutral core for MCP endpoints built on
juneau-rest-server.Connects terminals to the Juneau server bus: the
term.input upstream handler, and the term.nudge:<id>
downstream nudges that tell a terminal card when new bytes are ready.-
Uses of JsonMap in org.apache.juneau.bean.jsonschema
Methods in org.apache.juneau.bean.jsonschema with parameters of type JsonMapModifier and TypeMethodDescriptionstatic JsonSchemaValidatorBuilds a validator from a JSON-Schema-shapedJsonMap.static JsonSchema<?>Converts a generated schema map into a typed bean. -
Uses of JsonMap in org.apache.juneau.bean.mcp.v20260728
Methods in org.apache.juneau.bean.mcp.v20260728 that return JsonMapModifier and TypeMethodDescriptionElicitSchema.build()Validates every field's modifier combination (and the builder-levelElicitSchema.required(String...)marking) and builds the final restricted-schemaJsonMap({"type":"object","properties":{...},"required":[...]}, the last member present only ifElicitSchema.required(String...)was called at least once).Methods in org.apache.juneau.bean.mcp.v20260728 that return types with arguments of type JsonMapModifier and TypeMethodDescriptionInputRequiredResult.getInputRequests()Server-assigned-id-keyed map of requested inputs.Methods in org.apache.juneau.bean.mcp.v20260728 with parameters of type JsonMapModifier and TypeMethodDescriptionInputRequiredResult.putInputRequest(String id, JsonMap value) Convenience method to add a single requested-input entry.Method parameters in org.apache.juneau.bean.mcp.v20260728 with type arguments of type JsonMapModifier and TypeMethodDescriptionInputRequiredResult.setInputRequests(Map<String, JsonMap> value) Sets the requested-inputs 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.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.console
Methods in org.apache.juneau.console that return JsonMapModifier and TypeMethodDescriptionCardSource.json()Parses the body as JSON5 (cached after the first call).CardTypeRegistry.toCard(CardSource source) The single server path for both<@card>and C3'sPageSpec: validates the body (E-23), dispatches toCardTypeRegistry.handler(String), and merges the fragment flat onto the card's base keys.CardTypeHandler.toFragment(CardSource source) Validates the authored card and returns its contract fragment.HtmlCardType.toFragment(CardSource source) BridgeDecl.toMap()Subscription.toMap()TopicDecl.toMap()TopicDecl.toPublicationMap()Methods in org.apache.juneau.console with parameters of type JsonMapModifier and TypeMethodDescriptionCardTypeHandler.implicitTopics(JsonMap card) Topics this card publishes without declaring them, for R-10.CardTypeHandler.requiredPacks(JsonMap body) Toolkit packs this card needs because of what its body declares, beyond the packs its type always needs.static List<BusWiringValidator.Problem>BusWiringValidator.validate(JsonMap contract, CardTypeRegistry registry) Checks a page contract's bus wiring. -
Uses of JsonMap in org.apache.juneau.console.bus
Methods in org.apache.juneau.console.bus that return JsonMapModifier and TypeMethodDescriptionstatic JsonMapDecodes and validates one frame.default JsonMapBusEventsMixin.openBusSession(RestRequest req, RestResponse res) [POST /juneau-bus/session] — opens a bus session.BusRefusal.toJson()The refusal body:{code, message, denied?}.Methods in org.apache.juneau.console.bus with parameters of type JsonMapModifier and TypeMethodDescriptionvoidUpstreamHandler.handle(BusSession session, String topic, JsonMap payload) Handles one upstream publish.ServerBus.openSession(jakarta.servlet.http.HttpServletRequest req, JsonMap body) Transport SPI: opens a session from a session POST body. -
Uses of JsonMap in org.apache.juneau.console.data
Methods in org.apache.juneau.console.data that return JsonMap -
Uses of JsonMap in org.apache.juneau.console.freemarker
Methods in org.apache.juneau.console.freemarker that return JsonMapModifier and TypeMethodDescriptionstatic JsonMapChartDef.legendItem(String value, String label, String tone) One entry of a treemap colour key.static JsonMapstatic JsonMapChartCardType.toFragment(CardSource source) DatatablesCardType.toFragment(CardSource source) JobLogCardType.toFragment(CardSource source) TerminalCardType.toFragment(CardSource source) Annotations.toJson()Bands.toJson()Decorator.toJson()Markers.toJson()Thresholds.toJson()DataSourceDef.toMap()Thecontract.dataSources[] entry; checks the cross-field rules.Derived.toMap()Thecontract.dataSources[] entry.Methods in org.apache.juneau.console.freemarker with parameters of type JsonMapModifier and TypeMethodDescriptionstatic Section.CustomCreates a section implemented in JS by aJuneauDashboard.section.register(name, ...)section.ChartCardType.implicitTopics(JsonMap card) DatatablesCardType.implicitTopics(JsonMap card) filter:andredraw:always;selection:,detail:andbulk:only when the catalog sets that key.static JsonMapDatatablesCardType.requiredPacks(JsonMap body) A datatables card whose detail region is a job-log region needs thejoblogpack's populator.Appends a transform. -
Uses of JsonMap in org.apache.juneau.console.test
Methods in org.apache.juneau.console.test that return JsonMap -
Uses of JsonMap in org.apache.juneau.console.views
Methods in org.apache.juneau.console.views that return JsonMapModifier and TypeMethodDescriptionRowJobSubmit.fields()Returns the value of thefieldsrecord component.static JsonMapBuilds the detail GET endpoint's own JSON response (not the card fragment).Column.searchMeta()Serializes this column's effective search configuration to theVIEW_METAsearchblock: the wireSearchTypetoken plus one entry pereffective operator, each carrying the metadata the header popup renders.static JsonMapColumn.searchMeta(String name, String searchTypeWire, List<String> operatorAllowList, List<Map<String, String>> customOperators) Builds the per-columnsearchblock for theVIEW_METAwire contract directly from author-catalog inputs, without the caller having to touch the search-engine beans.Column.searchMeta(SearchOperatorSet tableDefault) Serializes this column's effective search configuration to theVIEW_METAsearchblock, inheriting the specified table-level operator set when this column has none of its own.TableSpec.toCardBody()Builds this table's catalog-form card body, with nocontractVersionanywhere (the client stamps every contract version).Column.toCatalogMap()Builds this column's catalog entry:keyandlabelplus the display (render,href,className,defaultVisible) and search (searchType,searchOperators,customOperators) metadata, flattened onto one entry, in the form thedatatablescard type resolves.Column.toCatalogMap(SearchOperatorSet tableDefault) Builds this column's catalog entry likeColumn.toCatalogMap(), but emits the column's effective operator set: its own set if it has one, elsetableDefault.QuickStat.toMap()Builds this item'squickStats.items[]entry.RibbonItem.toMap()Builds this item's ribbon entry.RowDetail.toMap()Builds this detail's card-body entry:{endpoint, title?, icon?, region?}.Methods in org.apache.juneau.console.views with parameters of type JsonMapConstructors in org.apache.juneau.console.views with parameters of type JsonMapModifierConstructorDescriptionRowJobSubmit(String action, String targetId, String idempotencyKey, JsonMap fields) Creates an instance of aRowJobSubmitrecord class. -
Uses of JsonMap in org.apache.juneau.marshall
Methods in org.apache.juneau.marshall that return JsonMapModifier and TypeMethodDescriptionstatic JsonMapConverts the specified@Schema annotation into a generic map.final JsonMapMarshallingTraverseSession.getLastLocation()Returns information used to determine at what location in the parse a failure occurred.static JsonMapExternalDocsAnnotation.merge(JsonMap m, ExternalDocs a) Merges the contents of the specified annotation into the specified generic map.static JsonMapMerges the contents of the specified annotation into the specified generic map.Methods in org.apache.juneau.marshall with parameters of type JsonMapModifier and TypeMethodDescriptionstatic JsonMapExternalDocsAnnotation.merge(JsonMap m, ExternalDocs a) Merges the contents of the specified annotation into the specified generic map.static JsonMapMerges the contents of the specified annotation into the specified generic map. -
Uses of JsonMap in org.apache.juneau.marshall.collections
Fields in org.apache.juneau.marshall.collections declared as JsonMapModifier and TypeFieldDescriptionstatic final JsonMapJsonMap.EMPTY_MAPAn empty read-only JsonMap.Methods in org.apache.juneau.marshall.collections that return JsonMapModifier and TypeMethodDescription<T> JsonMapJsonMap.appendFirst(Predicate<T> test, String key, T... values) <T> JsonMapJsonMap.appendIfAbsent(String key, Object value) <T> JsonMapJsonMap.appendIfAbsentIf(Predicate<T> predicate, String key, T value) static JsonMapJsonMap.create()Construct an empty map.JsonMap.filtered()static JsonMapJsonMap.filteredMap()Construct an empty filtered map.static JsonMapJsonMap.filteredMap(Object... keyValuePairs) Construct a filtered map initialized with the specified key/value pairs.JsonList.getMap(int index) Returns the specified entry value converted to aJsonMap.JsonMap.modifiable()protected JsonMapJsonMap.newMarshalledMap(MarshallingSession bs) static JsonMapConstruct a map initialized with the specified key/value pairs.static JsonMapConstruct a map initialized with the specified map.static JsonMapConstruct a map initialized with the specified reader containing JSON.static JsonMapConstruct a map initialized with the specified string.static JsonMapJsonMap.ofString(CharSequence json) Construct a map initialized with the specified JSON string.static JsonMapJsonMap.ofString(CharSequence in, Parser p) Construct a map initialized with the specified string.JsonMap.session(MarshallingSession session) JsonMap.setBeanSession(MarshallingSession value) JsonMap.unmodifiable()Convenience method for serializing this map to the specifiedWriter using theJson.DEFAULTmarshaller.Methods in org.apache.juneau.marshall.collections with parameters of type JsonMap -
Uses of JsonMap in org.apache.juneau.marshall.internal
Subclasses of JsonMap in org.apache.juneau.marshall.internalModifier and TypeClassDescriptionclassDelegateMap<T extends Map>Represents a wrappedMapwhere entries in the map can be removed without affecting the underlying map. -
Uses of JsonMap in org.apache.juneau.marshall.jsonschema
Methods in org.apache.juneau.marshall.jsonschema that return JsonMapModifier and TypeMethodDescriptionprotected JsonMapJsonSchemaBeanPropertyMeta.getSchema()Returns the schema information gathered from all the@Schemaannotations on the bean property.protected JsonMapJsonSchemaClassMeta.getSchema()Returns the@Schemaannotation 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 JsonMapParses a generic object as JSON and converts it to anJsonMap.static JsonMapConcatenates and parses a string array as a JSON object.Methods in org.apache.juneau.marshall.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.marshall.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.marshall.objecttools
Methods in org.apache.juneau.marshall.objecttools that return JsonMapModifier and TypeMethodDescriptionPathTraversal.getJsonMap(String url) Returns the specified entry value converted to aMap.PathTraversal.getJsonMap(String url, JsonMap defVal) Returns the specified entry value converted to aJsonMap.Methods in org.apache.juneau.marshall.objecttools with parameters of type JsonMapModifier and TypeMethodDescriptionPathTraversal.getJsonMap(String url, JsonMap defVal) Returns the specified entry value converted to aJsonMap. -
Uses of JsonMap in org.apache.juneau.marshall.parser
Methods in org.apache.juneau.marshall.parser that return JsonMapModifier and TypeMethodDescriptionfinal JsonMapParserSession.getLastLocation()Returns information used to determine at what location in the parse a failure occurred. -
Uses of JsonMap in org.apache.juneau.marshall.uon
Methods in org.apache.juneau.marshall.uon that return JsonMapModifier and TypeMethodDescriptionstatic JsonMapUonUtils.mergePairs(String... tokens) Merges MULTIkey=uonValue tokens into a newJsonMap.Methods in org.apache.juneau.marshall.uon with parameters of type JsonMap -
Uses of JsonMap in org.apache.juneau.marshall.utils
Methods in org.apache.juneau.marshall.utils that return JsonMap -
Uses of JsonMap in org.apache.juneau.microservice.examples
Methods in org.apache.juneau.microservice.examples that return JsonMapModifier and TypeMethodDescriptionConfigResource.getConfig()ConfigResource.getConfigSection(String section) ConfigResource.setConfigContents(Reader contents) ConfigResource.setConfigSection(String section, Map<String, Object> contents) -
Uses of JsonMap in org.apache.juneau.microservice.management
Methods in org.apache.juneau.microservice.management that return JsonMapModifier and TypeMethodDescriptionInfoManager.getInfo(ManifestFile manifest) Renders the manifest's main attributes (build/version/git metadata) as a sorted map.InfoMixin.getInfo(RestRequest req) [GET /info] - Application build/version/git metadata from the manifest.InfoResource.getInfo(RestRequest req) [GET /] - Application build/version/git metadata from the manifest. -
Uses of JsonMap in org.apache.juneau.petstore.console
Methods in org.apache.juneau.petstore.console that return JsonMap -
Uses of JsonMap in org.apache.juneau.petstore.console.dev
Methods in org.apache.juneau.petstore.console.dev that return JsonMapModifier and TypeMethodDescriptionCustomCardsRest.available()Counts one species' pets by status, for the gauge.DashboardRest.requests()The series request counter.InventoryGaugeCardType.toFragment(CardSource source) Methods in org.apache.juneau.petstore.console.dev that return types with arguments of type JsonMap -
Uses of JsonMap in org.apache.juneau.petstore.console.ops
Methods in org.apache.juneau.petstore.console.ops that return JsonMapModifier and TypeMethodDescriptionJobsRest.groomRunDetail(String id) A groom run's detail panel.GroomRuns.Run.row()JobsRest.speciesDetail(String id) A species row's detail panel.Methods in org.apache.juneau.petstore.console.ops that return types with arguments of type JsonMapMethods in org.apache.juneau.petstore.console.ops with parameters of type JsonMapModifier and TypeMethodDescriptionStarts a groom run.static JobsRest.RestockReads a restock from any of its wire shapes: the API form{perSpecies:{DOG:2}, idempotencyKey}, the dialog form the views runtime posts,{action, targetId, idempotencyKey, fields:{DOG:"2"}}, or the job-log card's flat form{DOG:2, slowMs:0, idempotencyKey}.JobsRest.regroom(RestRequest req, RestResponse res, String id, JsonMap json) Grooms a run's pet again.JobsRest.restock(RestRequest req, RestResponse res, JsonMap json) Submits a restock.JobsRest.restockSpecies(RestRequest req, RestResponse res, String id, JsonMap json) Restocks one species from its row's detail panel. -
Uses of JsonMap in org.apache.juneau.petstore.console.orders
Methods in org.apache.juneau.petstore.console.orders with parameters of type JsonMapModifier and TypeMethodDescriptionOrdersRest.create(RestRequest req, JsonMap body) Places a new order. -
Uses of JsonMap in org.apache.juneau.petstore.console.pets
Methods in org.apache.juneau.petstore.console.pets that return JsonMapModifier and TypeMethodDescriptionPetsRest.orderDetail(long id, long orderId) The Orders tab's row-detail GET.ChangesRest.pending(RestRequest req) The header badge source: pending changes, flaggedminefor the caller.Methods in org.apache.juneau.petstore.console.pets with parameters of type JsonMapModifier and TypeMethodDescriptionPetsRest.create(RestRequest req, JsonMap body) Creates a pet.PetsRest.stage(RestRequest req, long id, JsonMap body) Stages an inline edit for review on the Pending changes page.PetsRest.update(RestRequest req, long id, JsonMap body) Replaces a pet. -
Uses of JsonMap in org.apache.juneau.petstore.console.users
Methods in org.apache.juneau.petstore.console.users with parameters of type JsonMapModifier and TypeMethodDescriptionUsersRest.create(RestRequest req, JsonMap body) Creates a user.UsersRest.update(RestRequest req, String username, JsonMap body) Updates a user. -
Uses of JsonMap in org.apache.juneau.rest.server.mcp
Methods in org.apache.juneau.rest.server.mcp that return JsonMapMethods in org.apache.juneau.rest.server.mcp with parameters of type JsonMap -
Uses of JsonMap in org.apache.juneau.terminal.bus
Methods in org.apache.juneau.terminal.bus with parameters of type JsonMapModifier and TypeMethodDescriptionvoidTerminalInput.handle(BusSession session, String topic, JsonMap payload) Handles oneterm.inputframe.