Package dev.tachyonmcp.api.json.spi
@NullMarked
package dev.tachyonmcp.api.json.spi
SPI for pluggable JSON document/schema parsing, loadable via
ServiceLoader.
Implement JsonDocumentFactory and/or
JsonSchemaFactory and register the implementation in
META-INF/services/dev.tachyonmcp.api.json.spi.JsonDocumentFactory and/or
META-INF/services/dev.tachyonmcp.api.json.spi.JsonSchemaFactory to make it
discoverable by JsonDocument.from(Object, Class) and
JsonSchema.from(Object, Class).
-
InterfacesClassDescriptionCreates a
JsonDocumentfrom a source representation, validating it in the process.Creates aJsonSchemafrom a source representation, validating it in the process.