Index

A C E G H I J M R T V W 
All Classes and Interfaces|All Packages

A

asInvalid(String) - Static method in record class io.modelcontextprotocol.json.schema.JsonSchemaValidator.ValidationResponse
 
asValid(String) - Static method in record class io.modelcontextprotocol.json.schema.JsonSchemaValidator.ValidationResponse
 

C

convertValue(Object, TypeRef<T>) - Method in interface io.modelcontextprotocol.json.McpJsonMapper
Convert a value to a given parameterized type.
convertValue(Object, Class<T>) - Method in interface io.modelcontextprotocol.json.McpJsonMapper
Convert a value to a given type, useful for mapping nested JSON structures.
createDefault() - Static method in interface io.modelcontextprotocol.json.McpJsonMapper
Creates a new default McpJsonMapper.
createDefault() - Static method in interface io.modelcontextprotocol.json.schema.JsonSchemaValidator
Creates the default JsonSchemaValidator.

E

equals(Object) - Method in record class io.modelcontextprotocol.json.schema.JsonSchemaValidator.ValidationResponse
Indicates whether some other object is "equal to" this one.
errorMessage() - Method in record class io.modelcontextprotocol.json.schema.JsonSchemaValidator.ValidationResponse
Returns the value of the errorMessage record component.

G

getDefault() - Static method in interface io.modelcontextprotocol.json.McpJsonMapper
Returns the default McpJsonMapper.
getDefault() - Static method in interface io.modelcontextprotocol.json.schema.JsonSchemaValidator
Returns the default JsonSchemaValidator.
getType() - Method in class io.modelcontextprotocol.json.TypeRef
Returns the captured type information.

H

hashCode() - Method in record class io.modelcontextprotocol.json.schema.JsonSchemaValidator.ValidationResponse
Returns a hash code value for this object.

I

io.modelcontextprotocol.json - package io.modelcontextprotocol.json
 
io.modelcontextprotocol.json.schema - package io.modelcontextprotocol.json.schema
 

J

JsonSchemaValidator - Interface in io.modelcontextprotocol.json.schema
Interface for validating structured content against a JSON schema.
JsonSchemaValidator.ValidationResponse - Record Class in io.modelcontextprotocol.json.schema
Represents the result of a validation operation.
JsonSchemaValidatorSupplier - Interface in io.modelcontextprotocol.json.schema
A supplier interface that provides a JsonSchemaValidator instance.
jsonStructuredOutput() - Method in record class io.modelcontextprotocol.json.schema.JsonSchemaValidator.ValidationResponse
Returns the value of the jsonStructuredOutput record component.

M

McpJsonMapper - Interface in io.modelcontextprotocol.json
Abstraction for JSON serialization/deserialization to decouple the SDK from any specific JSON library.
McpJsonMapperSupplier - Interface in io.modelcontextprotocol.json
Strategy interface for resolving a McpJsonMapper.

R

readValue(byte[], TypeRef<T>) - Method in interface io.modelcontextprotocol.json.McpJsonMapper
Deserialize JSON bytes into a parameterized target type.
readValue(byte[], Class<T>) - Method in interface io.modelcontextprotocol.json.McpJsonMapper
Deserialize JSON bytes into a target type.
readValue(String, TypeRef<T>) - Method in interface io.modelcontextprotocol.json.McpJsonMapper
Deserialize JSON string into a parameterized target type.
readValue(String, Class<T>) - Method in interface io.modelcontextprotocol.json.McpJsonMapper
Deserialize JSON string into a target type.

T

toString() - Method in record class io.modelcontextprotocol.json.schema.JsonSchemaValidator.ValidationResponse
Returns a string representation of this record class.
TypeRef<T> - Class in io.modelcontextprotocol.json
Captures generic type information at runtime for parameterized JSON (de)serialization.
TypeRef() - Constructor for class io.modelcontextprotocol.json.TypeRef
Constructs a new TypeRef instance, capturing the generic type information of the subclass.

V

valid() - Method in record class io.modelcontextprotocol.json.schema.JsonSchemaValidator.ValidationResponse
Returns the value of the valid record component.
validate(Map<String, Object>, Object) - Method in interface io.modelcontextprotocol.json.schema.JsonSchemaValidator
Validates the structured content against the provided JSON schema.
ValidationResponse(boolean, String, String) - Constructor for record class io.modelcontextprotocol.json.schema.JsonSchemaValidator.ValidationResponse
Creates an instance of a ValidationResponse record class.

W

writeValueAsBytes(Object) - Method in interface io.modelcontextprotocol.json.McpJsonMapper
Serialize an object to JSON bytes.
writeValueAsString(Object) - Method in interface io.modelcontextprotocol.json.McpJsonMapper
Serialize an object to JSON string.
A C E G H I J M R T V W 
All Classes and Interfaces|All Packages