Class McpRegistryJson

java.lang.Object
dev.langchain4j.mcp.registryclient.McpRegistryJson

public class McpRegistryJson extends Object
  • Method Details

    • fromJson

      public static <T> T fromJson(String json, Class<T> type)
    • parseTimestamp

      public static LocalDateTime parseTimestamp(Object value)
      The registry sends UTC timestamps such as 2025-09-29T12:00:00Z. They are parsed here rather than by a JSON-library-specific deserializer, so that any codec reads them.