🌐
GitHub
github.com › google › gson
GitHub - google/gson: A Java serialization/deserialization library to convert Java Objects into JSON and back · GitHub
A Java serialization/deserialization library to convert Java Objects into JSON and back - google/gson
Starred by 24.3K users
Forked by 4.4K users
Languages   Java
open-source Java library to serialize and deserialize Java objects to and from JSON
Gson, or Google Gson, is an open-source Java library that serializes Java objects to JSON (and deserializes them back to Java). The Gson library was originally developed for internal purposes at Google, … Wikipedia
Factsheet
Google Gson
Developer Google
Initial release May 22, 2008; 17 years ago (2008-05-22)
Factsheet
Google Gson
Developer Google
Initial release May 22, 2008; 17 years ago (2008-05-22)
🌐
GitHub
google.github.io › gson › UserGuide.html
Gson User Guide | gson
Gson is a Java library that can be used to convert Java Objects into their JSON representation.
🌐
TutorialsPoint
tutorialspoint.com › gson › gson_quick_guide.htm
GSON - Quick Guide
Google Gson is a simple Java-based library to serialize Java objects to JSON and vice versa. It is an open-source library developed by Google. The following points highlight why you should be using this library − Here is a list of some of the most
🌐
Javadoc.io
javadoc.io › doc › com.google.code.gson › gson › 2.8.0 › com › google › gson › Gson.html
Gson - gson 2.8.0 javadoc
Latest version of com.google.code.gson:gson · https://javadoc.io/doc/com.google.code.gson/gson · Current version 2.8.0 · https://javadoc.io/doc/com.google.code.gson/gson/2.8.0 · package-list path (used for javadoc generation -link option) https://javadoc.io/doc/com.google.code.gson/gso...
🌐
Maven Repository
mvnrepository.com › artifact › com.google.code.gson › gson
Maven Repository: com.google.code.gson » gson
September 10, 2025 - Gson is a Java library that can be used to convert Java Objects into their JSON representation.
🌐
Wikipedia
en.wikipedia.org › wiki › Gson
Gson - Wikipedia
October 30, 2025 - Gson, or Google Gson, is an open-source Java library that serializes Java objects to JSON (and deserializes them back to Java).
🌐
Jenkov
jenkov.com › tutorials › java-json › gson.html
GSON - Java JSON Tutorial
February 18, 2016 - GSON is Google's JSON parser and generator for Java. Google developed GSON for internal use but open sourced it later. GSON it reasonably easy to use, but in my opinion not as elegant as Jackson or Boon (the winner in my opinion).
Find elsewhere
🌐
GitHub
google.github.io › gson › gson › src › main › java › com › google › gson › Gson.java
Gson
Gson provides default serialization and deserialization for Enums, {@link Map}, {@link * java.net.URL}, {@link java.net.URI}, {@link java.util.Locale}, {@link java.util.Date}, * {@link java.math.BigDecimal}, and {@link java.math.BigInteger} classes.
🌐
Readthedocs
jse.readthedocs.io › en › latest › utils › gson › index.html
Gson — Java Repositories 1.0 documentation - Read the Docs
Java Repositories 1.0 documentation · Show source · Suggest edit · Open issue · .rst · .pdf · Gson · Goals · Download · Documentation · References · Convert JSON to a Map · Passing Map.class · Using TypeToken · Using Custom JsonDeserializer · Results · References ·
🌐
HowToDoInJava
howtodoinjava.com › home › gson › gson tutorial: read and write json with examples
Gson Tutorial: Read and Write JSON with Examples
August 27, 2023 - Excluding Fields From Serialization and Deserialization – Gson supports numerous mechanisms for excluding top-level classes, fields and field types. Learn how to use them. JsonReader – Streaming JSON parser – Learn to read a JSON string or file as a stream of JSON tokens. JsonParser, JsonElement and JsonObject – Learn to parse a JSON string or stream into a tree structure of Java objects into JsonElement.
🌐
IronPDF
ironpdf.com › ironpdf for java › ironpdf for java blog › java help › gson java
Gson Java (How It Works For Developers)
June 23, 2025 - Gson is a Java library developed by Google, that can be used to convert Java Objects into their JSON representation. It can also be used to convert a whole JSON file or string to an equivalent Java object
🌐
ZetCode
zetcode.com › java › gson
Java Gson - JSON serialization and deserialization in Java with Gson
October 10, 2024 - It is less verbose and more readable than XML. The official Internet media type for JSON is application/json. The JSON filename extension is .json. JSON is directly consumable by JavaScript. Gson is a Java serialization/deserialization library to convert Java Objects into JSON and back.
🌐
Vogella
vogella.com › tutorials › JavaLibrary-Gson › article.html
Google Gson for converting Java objects to JSON and JSON to Java with - Tutorial
3 weeks ago - This tutorial explains how to use the Open Source framework Gson from Google to usage and purpose of Java JAR files.
🌐
Adobe Developer
developer.adobe.com › experience-manager › reference-materials › 6-5 › javadoc › com › google › gson › Gson.html
Gson (The Adobe AEM Quickstart and Web Application.)
By default, Gson ignores the Since annotation. You can enable Gson to use this annotation through GsonBuilder.setVersion(double). The default field naming policy for the output Json is same as in Java. So, a Java class field versionNumber will be output as "versionNumber" in Json.
🌐
GeeksforGeeks
geeksforgeeks.org › java › how-to-setup-gson-for-java-application
How to Setup GSON For Java Application? - GeeksforGeeks
August 30, 2021 - GSON is Google's JSON parser. It is used to parse JSON files and generate JSON files. It has multiple APIs which serialize Java objects to JSON and deserializes JSON files to Java objects.
🌐
Javadoc.io
javadoc.io › doc › com.google.code.gson › gson › latest › index.html
gson 2.13.2 javadoc (com.google.code.gson)
Latest version of com.google.code.gson:gson · https://javadoc.io/doc/com.google.code.gson/gson · Current version 2.13.2 · https://javadoc.io/doc/com.google.code.gson/gson/2.13.2 · package-list path (used for javadoc generation -link option) https://javadoc.io/doc/com.google.code.gson/g...
🌐
GitHub
github.com › google › gson › blob › main › UserGuide.md
gson/UserGuide.md at main · google/gson
A Java serialization/deserialization library to convert Java Objects into JSON and back - google/gson
Author   google
🌐
DZone
dzone.com › coding › frameworks › json handling with gson in java with oop essence
JSON Handling With GSON in Java With OOP Essence
January 4, 2024 - GSON is a Java library that simplifies the process of converting Java objects to JSON and vice versa. It stands for "Google's JSON" and provides developers with a seamless integration between their Java objects and JSON data.