BSD Ports

devel/gson 2.14.0 DragonFly

Java library to convert Java Objects into JSON and back

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
devel, java
Package size
274.8 KiB, 316.4 KiB installed

Description

Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of.

There are a few open-source projects that can convert Java objects to JSON. However, most of them require that you place Java annotations in your classes; something that you can not do if you do not have access to the source-code. Most also do not fully support the use of Java Generics. Gson considers both of these as very important design goals.

In the other systems

The newest version among them is 2.14.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/gson2.14.0 newestnone known-[email protected]-
FreeBSDdevel/gson2.14.0 newestnone known-[email protected]2026-08-09
HardenedBSDdevel/gson2.14.0 newestno data-[email protected]-
GhostBSDdevel/gson2.14.0 newestno data-[email protected]-

Version history 1

  1. 2.14.0

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install gson

From DPorts:

cd /usr/dports/devel/gson && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.