notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
gson Java library to convert Java Objects into JSON and back
2.14.0 develnew! on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: thierry@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-08-09 10:24:43
Last Update: 2026-08-09 10:22:31
Commit Hash: 7db0ddb
People watching this port, also watch:: vtk9, SparseBitSet, py312-cysignals, python
Also Listed In: java
License: APACHE20
WWW:
https://github.com/google/gson
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. share/java/classes/gson.jar
  2. /usr/local/share/licenses/gson-2.14.0/catalog.mk
  3. /usr/local/share/licenses/gson-2.14.0/LICENSE
  4. /usr/local/share/licenses/gson-2.14.0/APACHE20
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • gson>0:devel/gson
To install the port:
cd /usr/ports/devel/gson/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/gson
  • pkg install gson
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gson
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1785512519 SHA256 (gson-2.14.0.jar) = 2cbd119bf1961c28788310963dc80ba65f58cdeec1dd139c8bdb1240faa2c36f SIZE (gson-2.14.0.jar) = 313604

Expand this list (2 items)

Collapse this list.

SHA256 (LICENSE) = 3d03da960cf6049e1e81a3bc1a88c8a619ce97437793f6db0b21c47ff10eafec SIZE (LICENSE) = 334427

Collapse this list.


Packages (timestamps in pop-ups are UTC):
gson
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest-2.14.0--2.14.0---
FreeBSD:14:quarterly--------
FreeBSD:15:latest2.14.02.14.0n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. java : java/openjdk25
This port is required by:
for Build
  1. math/scilab
for Run
  1. math/scilab

Configuration Options:
No options to configure
Options name:
devel_gson
USES:
java:run
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://repo1.maven.org/maven2/com/google/code/gson/gson/2.14.0/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.14.0
09 Aug 2026 10:22:31
commit hash: 7db0ddb8482363e90d9aed3079eb7daf865d09aacommit hash: 7db0ddb8482363e90d9aed3079eb7daf865d09aacommit hash: 7db0ddb8482363e90d9aed3079eb7daf865d09aacommit hash: 7db0ddb8482363e90d9aed3079eb7daf865d09aa files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
devel/gson: new port, Java library to convert Java Objects into JSON

This is a basic port, just to install a dependency used by Scilab.
It uses a pre-built jar provided by Maven.

Number of commits found: 1