devel/json-glib 1.10.8 MidnightBSD
JSON (RFC 4627) interface for Glib
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
6fa8a70e7b- License
- lgpl2.1+
- Categories
- devel
Description
JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation (JSON) format described by RFC 4627. JSON is:
a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language. -- From Introducing JSON
Many high-level languages already provide native modules for parsing, generating and manipulating JSON data streams. JSON-GLib is a C library based on GLib and released under the terms of the GNU Lesser General Public License version 2.1. It provides a parser and a generator GObject classes and various wrappers for the complex data types employed by JSON, such as arrays and objects.
JSON-GLib uses GLib native data types and the generic value container GValue for ease of development. It also provides integration with the GObject classes for direct serialization into, and deserialization from, JSON data streams.
In the other systems
The newest version among them is 1.10.8, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/json-glib | 1.10.8 newest | no data | - | [email protected] | 2026-09-08 |
| FreeBSD | devel/json-glib | 1.10.8 newest | none known | - | [email protected] | - |
| OpenBSD | devel/json-glib | 1.10.8p0 newest | no data | - | Antoine Jacoutot <[email protected]> | - |
| NetBSD | textproc/json-glib by name | 1.10.6nb3 behind since 2026-09-08 | none known | - | [email protected] | 2026-09-29 |
| DragonFly | devel/json-glib | 1.10.6 behind since 2026-09-08 | none known | - | [email protected] | - |
| HardenedBSD | devel/json-glib | 1.10.8 newest | no data | - | [email protected] | - |
| GhostBSD | devel/json-glib | 1.10.8 newest | no data | - | [email protected] | - |
Version history 1
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:
mport install json-glib
From mports:
cd /usr/mports/devel/json-glib && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= json-glib>0:devel/json-glib
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib
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
Required by 61
- accessibility/caribou
- archivers/file-roller
- audio/pavucontrol
- audio/rhythmbox
- databases/evolution-data-server
- databases/libgda6
- deskutils/gnome-maps
- deskutils/spice-gtk
- deskutils/xdg-desktop-portal
- devel/appstream-glib
- devel/gitg
- devel/gnome-builder
- devel/gtranslator
- devel/jsonrpc-glib
- devel/libdbusmenu
- devel/libgdata
- devel/libgusb
- devel/tinysparql
- games/gnome-sudoku
- graphics/clutter
- graphics/clutter-gtk3
- graphics/eog-plugins
- graphics/gegl
- graphics/gimp-app
- graphics/libchamplain
- japanese/libskk
- mail/evolution
- mail/evolution-ews
- mail/geary
- misc/timezonemap
- multimedia/cheese
- multimedia/clutter-gst3
- multimedia/gstreamer1-validate
- net-im/purple-discord
- net-im/purple-facebook
- net-im/purple-mattermost
- net/geoclue
- net/geocode-glib
- net/geocode-glib2
- net/gfbgraph
- net/gnome-online-accounts
- net/grilo-plugins
- net/libgweather4
- net/librest1
- net/libzapojit
- net/liferea
- net/remmina
- security/gvm-libs
- security/openvas
- sysutils/osinfo-db-tools
- sysutils/tracker3
- www/epiphany
- www/raphael
- x11-fm/nemo
- x11-toolkits/libshumate
- x11-wm/muffin
- x11/gdm
- x11/gnome-session
- x11/gnome-shell
- x11/ptyxis
- x11/xfce4-dashboard
Configuration
Options name: devel_json-glib
| Option | Default | Description |
|---|---|---|
| DOCS | off | |
| GIR | on | Build introspection data |
| MANPAGES | off | |
| NLS | off |
- USES
- gnome localbase meson python pkgconfig tar:xz
- Service scripts
- none
Files
Manual pages 2
- json-glib-format(1)
- json-glib-validate(1)
pkg-plist 410
- bin/json-glib-format
- bin/json-glib-validate
- include/json-glib-1.0/json-glib/json-builder.h
- include/json-glib-1.0/json-glib/json-enum-types.h
- include/json-glib-1.0/json-glib/json-generator.h
- include/json-glib-1.0/json-glib/json-glib.h
- include/json-glib-1.0/json-glib/json-gobject.h
- include/json-glib-1.0/json-glib/json-gvariant.h
- include/json-glib-1.0/json-glib/json-parser.h
- include/json-glib-1.0/json-glib/json-path.h
- include/json-glib-1.0/json-glib/json-reader.h
- include/json-glib-1.0/json-glib/json-types.h
- include/json-glib-1.0/json-glib/json-utils.h
- include/json-glib-1.0/json-glib/json-version-macros.h
- include/json-glib-1.0/json-glib/json-version.h
- lib/girepository-1.0/Json-1.0.typelib
- lib/libjson-glib-1.0.so
- lib/libjson-glib-1.0.so.0
- lib/libjson-glib-1.0.so.0.1000.8
- libdata/pkgconfig/json-glib-1.0.pc
- share/gir-1.0/Json-1.0.gir
- share/doc/json-glib-1.0/RedHatDisplay-Black.woff
- share/doc/json-glib-1.0/RedHatDisplay-Black.woff2
- share/doc/json-glib-1.0/RedHatDisplay-BlackItalic.woff
- share/doc/json-glib-1.0/RedHatDisplay-BlackItalic.woff2
- share/doc/json-glib-1.0/RedHatDisplay-Bold.woff
- share/doc/json-glib-1.0/RedHatDisplay-Bold.woff2
- share/doc/json-glib-1.0/RedHatDisplay-BoldItalic.woff
- share/doc/json-glib-1.0/RedHatDisplay-BoldItalic.woff2
- share/doc/json-glib-1.0/RedHatDisplay-Italic.woff
- share/doc/json-glib-1.0/RedHatDisplay-Italic.woff2
- share/doc/json-glib-1.0/RedHatDisplay-Medium.woff
- share/doc/json-glib-1.0/RedHatDisplay-Medium.woff2
- share/doc/json-glib-1.0/RedHatDisplay-MediumItalic.woff
- share/doc/json-glib-1.0/RedHatDisplay-MediumItalic.woff2
- share/doc/json-glib-1.0/RedHatDisplay-Regular.woff
- share/doc/json-glib-1.0/RedHatDisplay-Regular.woff2
- share/doc/json-glib-1.0/RedHatText-Bold.woff
- share/doc/json-glib-1.0/RedHatText-Bold.woff2
- share/doc/json-glib-1.0/RedHatText-BoldItalic.woff
- share/doc/json-glib-1.0/RedHatText-BoldItalic.woff2
- share/doc/json-glib-1.0/RedHatText-Italic.woff
- share/doc/json-glib-1.0/RedHatText-Italic.woff2
- share/doc/json-glib-1.0/RedHatText-Medium.woff
- share/doc/json-glib-1.0/RedHatText-Medium.woff2
- share/doc/json-glib-1.0/RedHatText-MediumItalic.woff
- share/doc/json-glib-1.0/RedHatText-MediumItalic.woff2
- share/doc/json-glib-1.0/RedHatText-Regular.woff
- share/doc/json-glib-1.0/RedHatText-Regular.woff2
- share/doc/json-glib-1.0/SourceCodePro-It.ttf.woff
- share/doc/json-glib-1.0/SourceCodePro-Regular.ttf.woff
- share/doc/json-glib-1.0/SourceCodePro-Semibold.ttf.woff
- share/doc/json-glib-1.0/callback.ArrayForeach.html
- share/doc/json-glib-1.0/callback.BoxedDeserializeFunc.html
- share/doc/json-glib-1.0/callback.BoxedSerializeFunc.html
- share/doc/json-glib-1.0/callback.ObjectForeach.html
- share/doc/json-glib-1.0/class.Builder.html
- share/doc/json-glib-1.0/class.Generator.html
- share/doc/json-glib-1.0/class.Parser.html
- share/doc/json-glib-1.0/class.Path.html
- share/doc/json-glib-1.0/class.Reader.html
- share/doc/json-glib-1.0/classes_hierarchy.html
- share/doc/json-glib-1.0/const.MAJOR_VERSION.html
- share/doc/json-glib-1.0/const.MICRO_VERSION.html
- share/doc/json-glib-1.0/const.MINOR_VERSION.html
- share/doc/json-glib-1.0/const.PARSER_MAX_RECURSION_DEPTH.html
- share/doc/json-glib-1.0/const.VERSION_S.html
- share/doc/json-glib-1.0/ctor.Array.new.html
- share/doc/json-glib-1.0/ctor.Array.sized_new.html
- share/doc/json-glib-1.0/ctor.Builder.new.html
- share/doc/json-glib-1.0/ctor.Builder.new_immutable.html
- share/doc/json-glib-1.0/ctor.Generator.new.html
- share/doc/json-glib-1.0/ctor.Node.alloc.html
- share/doc/json-glib-1.0/ctor.Node.new.html
- share/doc/json-glib-1.0/ctor.Object.new.html
- share/doc/json-glib-1.0/ctor.Parser.new.html
- share/doc/json-glib-1.0/ctor.Parser.new_immutable.html
- share/doc/json-glib-1.0/ctor.Path.new.html
- share/doc/json-glib-1.0/ctor.Reader.new.html
- share/doc/json-glib-1.0/enum.NodeType.html
- share/doc/json-glib-1.0/error.ParserError.html
- share/doc/json-glib-1.0/error.PathError.html
- share/doc/json-glib-1.0/error.ReaderError.html
- share/doc/json-glib-1.0/fonts.css
- share/doc/json-glib-1.0/func.CHECK_VERSION.html
- share/doc/json-glib-1.0/func.ENCODE_VERSION.html
- share/doc/json-glib-1.0/func.NODE_HOLDS.html
- share/doc/json-glib-1.0/func.NODE_HOLDS_ARRAY.html
- share/doc/json-glib-1.0/func.NODE_HOLDS_NULL.html
- share/doc/json-glib-1.0/func.NODE_HOLDS_OBJECT.html
- share/doc/json-glib-1.0/func.NODE_HOLDS_VALUE.html
- share/doc/json-glib-1.0/func.NODE_TYPE.html
- share/doc/json-glib-1.0/func.boxed_can_deserialize.html
- share/doc/json-glib-1.0/func.boxed_can_serialize.html
- share/doc/json-glib-1.0/func.boxed_deserialize.html
- share/doc/json-glib-1.0/func.boxed_register_deserialize_func.html
- share/doc/json-glib-1.0/func.boxed_register_serialize_func.html
- share/doc/json-glib-1.0/func.boxed_serialize.html
- share/doc/json-glib-1.0/func.construct_gobject.html
- share/doc/json-glib-1.0/func.from_string.html
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| json-glib-1.10.8.tar.xz | 1.294096e+06 | 55c5c141a564245b8f8fbe7698663c87a45a7333c2a2c56f06f811ab73b212dd |
Master sites 1
- GNOME