Tag: json
All the articles with the tag "json".
-
Getting structured JSON responses from LLMs in Spring AI
LLMs return free-form text by default. Spring AI's structured output support maps that text directly into Java records and classes — no manual JSON parsing, no fragile string manipulation.
-
Deserialize json with Java parameterized constructor
In this blog post we are going to learn how to deserialize json into Java class which doesn't have default constructor.
-
JSON deserialize generic types using Gson and Jackson
In this blog post we are going to learn how to deserialize json into java generic types.