Simple Solution
  • Java
  • Spring
  • Spring Boot
  • Tutorials
  • Tags
Java Gson How to use TypeToken class to define data type at runtime
Java Gson How to use TypeToken class to define data type at runtime

In this Java Gson tutorial we learn how to use the com.google.gson.reflect.TypeToken during deserializing JSON String with Gson library.

Java Gson Convert JSON String to JsonElement
Java Gson Convert JSON String to JsonElement

In This Java Gson tutorial we learn how to convert a JSON String into a com.google.gson.JsonElement object of the Gson library.

Java Convert classpath resource JSON File to Java Object using Gson
Java Convert classpath resource JSON File to Java Object using Gson

In this Java Gson tutorial, we show you how to read a JSON file from classpath resources and convert the JSON content to Java object using the Gson library and Apache Commons IO library. By different Java example programs we learn how to convert JSON content to a HashMap, a List of Map, an object of a custom defined class or a List of objects.

Convert JSON File to Java Object in Java using Gson
Convert JSON File to Java Object in Java using Gson

In this Java Gson tutorial we learn how to convert a JSON file into a Java object using the Gson class of the Gson library. By different Java example programs we show you how to convert a JSON file into a HashMap object, a list of Map, an object of custom defined classes or a List of objects.

Convert JSON String to Java Object in Java using Gson
Convert JSON String to Java Object in Java using Gson

In this Java Gson tutorial we learn how to use the Gson library to convert a JSON String into a Java object by using Gson class. Via different Java code examples we show you how to convert a JSON String into Java HashMap, an object of a custom defined class or a List of objects.

Copyright © 2019 SimpleSolution.dev. All Rights Reserved.