Skip to content

Latest commit

 

History

History

gson

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Java-Gson-Examples

Java Gson examples show how to work with JSON in Java using Gson library. We use three different Gson APIs to work with JSON. Gson is a Java library which converts Java Objects into their JSON representation and vice versa.

Examples com from the Java Gson tutorial http://zetcode.com/java/gson/

Properties:

<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>11</maven.compiler.source>
    <maven.compiler.target>11</maven.compiler.target>
</properties>

Dependencies:

<dependencies>
    <dependency>
        <groupId>com.google.code.gson</groupId>
        <artifactId>gson</artifactId>
        <version>2.8.5</version>
    </dependency>
</dependencies>