Gson (also known as Google Gson) is an open-source Java library to serialize and deserialize Java objects to (and from) JSON.