devel/gson 2.14.0 FreeBSD
Java library to convert Java Objects into JSON and back
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
7db0ddb848- License
- APACHE20
- Categories
- devel, java
- Package size
- 273.4 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.
Install
Binary package:
pkg install gson
From the ports tree:
cd /usr/ports/devel/gson/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= gson>0:devel/gson
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.14.0 | 2.14.0 | - | - | 2.14.0 |
| FreeBSD:14:quarterly | 2.14.0 | 2.14.0 | n/a | - | 2.14.0 |
| FreeBSD:15:latest | 2.14.0 | 2.14.0 | n/a | - | - |
| FreeBSD:15:quarterly | 2.14.0 | 2.14.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.14.0 | 2.14.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Run dependencies 53
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/zstd
- audio/alsa-lib
- converters/libiconv
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-packaging
- devel/readline
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/png
- graphics/tiff
- java/javavmwrapper
- java/openjdk21
- lang/python312
- lang/python315
- math/mpdecimal
- print/freetype2
- print/harfbuzz
- print/indexinfo
- textproc/expat2
- x11-fonts/dejavu
- x11-fonts/encodings
- x11-fonts/font-bh-ttf
- x11-fonts/font-misc-ethiopic
- x11-fonts/font-misc-meltho
- x11-fonts/fontconfig
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-fonts/xorg-fonts-truetype
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXtst
- x11/libxcb
- x11/xorgproto
Required by 2
Configuration
No options to configure.
- USES
- java:run
- Service scripts
- none
Files
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| gson-2.14.0.jar | 313604 | 2cbd119bf1961c28788310963dc80ba65f58cdeec1dd139c8bdb1240faa2c36f |
| LICENSE | 334427 | 3d03da960cf6049e1e81a3bc1a88c8a619ce97437793f6db0b21c47ff10eafec |
Master sites 1
- https://repo1.maven.org/maven2/com/google/code/gson/gson/${PORTVERSION}/