# Uses of Class
com.google.adk.JsonBaseModel

Packages that use JsonBaseModel
Package
Description
com.google.adk
com.google.adk.agents
com.google.adk.codeexecutors
com.google.adk.events
com.google.adk.examples
com.google.adk.models
com.google.adk.sessions
com.google.adk.skills
com.google.adk.tools
com.google.adk.tools.mcp
com.google.adk.web.dto

- ## Uses of JsonBaseModel in com.google.adk

  Methods in com.google.adk with type parameters of type JsonBaseModel
  Modifier and Type
  Method
  Description
  `static <T extends JsonBaseModel>
  T`
  JsonBaseModel.`fromJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode, Class<T> clazz)`
  Deserializes a JsonNode to an object of the given type.
  `static <T extends JsonBaseModel>
  T`
  JsonBaseModel.`fromJsonString(String jsonString, Class<T> clazz)`
  Deserializes a Json string to an object of the given type.

- ## Uses of JsonBaseModel in com.google.adk.agents

  Subclasses of JsonBaseModel in com.google.adk.agents
  Modifier and Type
  Class
  Description
  `class`
  `LiveRequest`
  Represents a request to be sent to a live connection to the LLM model.

- ## Uses of JsonBaseModel in com.google.adk.codeexecutors

  Subclasses of JsonBaseModel in com.google.adk.codeexecutors
  Modifier and Type
  Class
  Description
  `class`
  `BaseCodeExecutor`
  Abstract base class for all code executors.
  `class`
  `BuiltInCodeExecutor`
  A code executor that uses the Model's built-in code executor.
  `static class`
  `CodeExecutionUtils.CodeExecutionInput`
  A structure that contains the input of code execution.
  `static class`
  `CodeExecutionUtils.CodeExecutionResult`
  A structure that contains the result of code execution.
  `static class`
  `CodeExecutionUtils.File`
  A structure that contains a file name and its content.
  `class`
  `ContainerCodeExecutor`
  A code executor that uses a custom container to execute code.
  `final class`
  `VertexAiCodeExecutor`
  A code executor that uses Vertex Code Interpreter Extension to execute code.

- ## Uses of JsonBaseModel in com.google.adk.events

  Subclasses of JsonBaseModel in com.google.adk.events
  Modifier and Type
  Class
  Description
  `class`
  `Event`
  Represents an event in a session.
  `class`
  `EventActions`
  Represents the actions attached to an event.
  `class`
  `ToolConfirmation`
  Represents a tool confirmation configuration.

- ## Uses of JsonBaseModel in com.google.adk.examples

  Subclasses of JsonBaseModel in com.google.adk.examples
  Modifier and Type
  Class
  Description
  `class`
  `Example`
  Represents an few-shot example.

- ## Uses of JsonBaseModel in com.google.adk.models

  Subclasses of JsonBaseModel in com.google.adk.models
  Modifier and Type
  Class
  Description
  `class`
  `LlmRequest`
  Represents a request to be sent to the LLM.
  `class`
  `LlmResponse`
  Represents a response received from the LLM.

- ## Uses of JsonBaseModel in com.google.adk.sessions

  Subclasses of JsonBaseModel in com.google.adk.sessions
  Modifier and Type
  Class
  Description
  `final class`
  `Session`
  A `Session` object that encapsulates the `State` and `Event`s of a session.
  `final class`
  `SessionKey`
  Key for a session, composed of appName, userId and session id.

- ## Uses of JsonBaseModel in com.google.adk.skills

  Subclasses of JsonBaseModel in com.google.adk.skills
  Modifier and Type
  Class
  Description
  `class`
  `Frontmatter`
  Frontmatter represents the YAML metadata at the top of a SKILL.md file.

- ## Uses of JsonBaseModel in com.google.adk.tools

  Subclasses of JsonBaseModel in com.google.adk.tools
  Modifier and Type
  Class
  Description
  `static class`
  `BaseTool.ToolArgsConfig`
  Configuration class for tool arguments that allows arbitrary key-value pairs.
  `static class`
  `BaseTool.ToolConfig`
  Configuration class for a tool definition in YAML/JSON.

- ## Uses of JsonBaseModel in com.google.adk.tools.mcp

  Subclasses of JsonBaseModel in com.google.adk.tools.mcp
  Modifier and Type
  Class
  Description
  `static class`
  `McpToolset.McpToolsetConfig`
  Configuration class for MCPToolset.

- ## Uses of JsonBaseModel in com.google.adk.web.dto

  Subclasses of JsonBaseModel in com.google.adk.web.dto
  Modifier and Type
  Class
  Description
  `class`
  `RunEvalResult`
  DTO for the response of POST /apps/{appName}/eval_sets/{evalSetId}/run-eval.