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 photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Server is being updated to FreeBSD 14.3 as you read this... and it is done.
Commit processing is stalled - it is a jail issue. I will work on it later today. 2025-09-17 12:17 UTC - It has been fixed. Sometime before 17:27 UTC.
Port details
yyjson Fastest JSON library in C
0.12.0 devel on this many watch lists=2 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 0.11.1Version of this port present on the latest quarterly branch.
Maintainer: pkubaj@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-08-17 13:15:07
Last Update: 2025-08-23 08:39:06
Commit Hash: 979cbb1
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
License: MIT
WWW:
https://github.com/ibireme/yyjson
Description:
A high performance JSON library written in ANSI C. Features: * Fast: can read or write gigabytes per second JSON data on modern CPUs. * Portable: complies with ANSI C (C89) for cross-platform compatibility. * Strict: complies with RFC 8259 JSON standard, ensuring strict number format and UTF-8 validation. * Extendable: offers options to allow comments, trailing commas, NaN/Inf, and custom memory allocator. * Accuracy: can accurately read and write int64, uint64, and double numbers. * Flexible: supports unlimited JSON nesting levels, \u0000 characters, and non null-terminated strings. * Manipulation: supports querying and modifying using JSON Pointer, JSON Patch and JSON Merge Patch. * Developer-Friendly: easy integration with only one h and one c file. Limitations: * An array or object is stored as a data structure such as linked list, which makes accessing elements by index or key slower than using an iterator. * Duplicate keys are allowed in an object, and the order of the keys is preserved. * JSON parsing result is immutable, requiring a mutable copy for modification.
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 (13 items)
Collapse this list.
  1. /usr/local/share/licenses/yyjson-0.12.0/catalog.mk
  2. /usr/local/share/licenses/yyjson-0.12.0/LICENSE
  3. /usr/local/share/licenses/yyjson-0.12.0/MIT
  4. include/yyjson.h
  5. lib/cmake/yyjson/yyjson-config-release.cmake
  6. lib/cmake/yyjson/yyjson-config.cmake
  7. lib/libyyjson.so
  8. lib/libyyjson.so.0
  9. lib/libyyjson.so.0.12.0
  10. libdata/pkgconfig/yyjson.pc
  11. @owner
  12. @group
  13. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • yyjson>0:devel/yyjson
To install the port:
cd /usr/ports/devel/yyjson/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/yyjson
  • pkg install yyjson
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: yyjson
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1755625116 SHA256 (ibireme-yyjson-0.12.0_GH0.tar.gz) = b16246f617b2a136c78d73e5e2647c6f1de1313e46678062985bdcf1f40bb75d SIZE (ibireme-yyjson-0.12.0_GH0.tar.gz) = 1620674

Expand this list (2 items)

Collapse this list.

SHA256 (878d5da9b6c0352c2601bd6c244c0ef994ee1c24.patch) = e2cd73c65e6948bdf899a0cefb77d78161bdf02d8fea52c2dc37e13158af2a8d SIZE (878d5da9b6c0352c2601bd6c244c0ef994ee1c24.patch) = 5958

Collapse this list.


Packages (timestamps in pop-ups are UTC):
yyjson
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.12.00.12.0-0.12.00.12.0---
FreeBSD:13:quarterly0.11.10.11.1-0.11.10.11.10.8.00.8.00.8.0
FreeBSD:14:latest0.12.00.12.0-0.11.10.12.0---
FreeBSD:14:quarterly0.11.10.11.1-0.11.10.11.10.8.00.8.00.8.0
FreeBSD:15:latest0.12.00.12.0n/a0.11.1n/a0.8.00.8.00.8.0
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
This port is required by:
for Libraries
  1. sysutils/fastfetch
  2. x11-wm/wayfire

Configuration Options:
No options to configure
Options name:
devel_yyjson
USES:
cmake:testing pathfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/ibireme/yyjson/tar.gz/0.12.0?dummy=/
Collapse this list.

Number of commits found: 10

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.12.0
23 Aug 2025 08:39:06
commit hash: 979cbb12a7a4c4d4b4d3874ae7138ab53a736dd9commit hash: 979cbb12a7a4c4d4b4d3874ae7138ab53a736dd9commit hash: 979cbb12a7a4c4d4b4d3874ae7138ab53a736dd9commit hash: 979cbb12a7a4c4d4b4d3874ae7138ab53a736dd9 files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
devel/yyjson: Improve port and enable 'make test'

* Switch to DISTVERSION as per Porters Handbook
* Define LICENSE_FILE
* Enable unit tests (make test)
  Backport upstream patch 878d5da9b6c0352c2601bd6c244c0ef994ee1c24

Reference:
https://github.com/ibireme/yyjson/commit/878d5da9b6c0352c2601bd6c244c0ef994ee1c24

PR:		288934
Approved by:	pkubaj (maintainer, previous iteration)
0.12.0
19 Aug 2025 04:53:07
commit hash: 27f119662496f4af2ea246bc9e3b7b2cbad08d55commit hash: 27f119662496f4af2ea246bc9e3b7b2cbad08d55commit hash: 27f119662496f4af2ea246bc9e3b7b2cbad08d55commit hash: 27f119662496f4af2ea246bc9e3b7b2cbad08d55 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
devel/yyjson: update to 0.12.0

Changelog:	https://github.com/ibireme/yyjson/releases/tag/0.12.0
0.11.1
17 May 2025 09:22:18
commit hash: 23fd94c62c43d09f1064f4714c6c1cf5033c7a2acommit hash: 23fd94c62c43d09f1064f4714c6c1cf5033c7a2acommit hash: 23fd94c62c43d09f1064f4714c6c1cf5033c7a2acommit hash: 23fd94c62c43d09f1064f4714c6c1cf5033c7a2a files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
devel/yyjson: add USES=pathfix as suggested by stage-qa
0.11.1
13 May 2025 18:50:03
commit hash: d936bc0d23027858fdb4feadf514171985fb8ce0commit hash: d936bc0d23027858fdb4feadf514171985fb8ce0commit hash: d936bc0d23027858fdb4feadf514171985fb8ce0commit hash: d936bc0d23027858fdb4feadf514171985fb8ce0 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
devel/yyjson: update to 0.11.1

Changelog:	https://github.com/ibireme/yyjson/releases/tag/0.11.1
0.11.0
07 May 2025 12:46:22
commit hash: e6c7fc2cf1a019be1b6bf776bb3d33b13d6b78aecommit hash: e6c7fc2cf1a019be1b6bf776bb3d33b13d6b78aecommit hash: e6c7fc2cf1a019be1b6bf776bb3d33b13d6b78aecommit hash: e6c7fc2cf1a019be1b6bf776bb3d33b13d6b78ae files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
devel/yyjson: update to 0.11.0

Changelog:	https://github.com/ibireme/yyjson/releases/tag/0.11.0
0.10.0
16 Jul 2024 01:05:06
commit hash: 225df9143a16787309060bf6ed76480d612e22c2commit hash: 225df9143a16787309060bf6ed76480d612e22c2commit hash: 225df9143a16787309060bf6ed76480d612e22c2commit hash: 225df9143a16787309060bf6ed76480d612e22c2 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
devel/yyjson: update to 0.10.0

Changelog:	https://github.com/ibireme/yyjson/releases/tag/0.10.0
0.9.0
16 Apr 2024 21:48:13
commit hash: c1deab268cff73a90dd1ea5895d10311013ddab5commit hash: c1deab268cff73a90dd1ea5895d10311013ddab5commit hash: c1deab268cff73a90dd1ea5895d10311013ddab5commit hash: c1deab268cff73a90dd1ea5895d10311013ddab5 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
devel/yyjson: update to 0.9.0

Changelog:	https://github.com/ibireme/yyjson/releases/tag/0.9.0
0.8.0
14 Sep 2023 10:46:13
commit hash: 3c0d16e56959d3630553befca7078e3fac61ca28commit hash: 3c0d16e56959d3630553befca7078e3fac61ca28commit hash: 3c0d16e56959d3630553befca7078e3fac61ca28commit hash: 3c0d16e56959d3630553befca7078e3fac61ca28 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
devel/yyjson: update to 0.8.0

Changelog:	https://github.com/ibireme/yyjson/releases/tag/0.8.0
0.7.0_1
23 Aug 2023 22:24:26
commit hash: 6b09422d723f8b760e549f260093aeaa2f79e81ecommit hash: 6b09422d723f8b760e549f260093aeaa2f79e81ecommit hash: 6b09422d723f8b760e549f260093aeaa2f79e81ecommit hash: 6b09422d723f8b760e549f260093aeaa2f79e81e files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
devel/yyjson: enable building shared library
0.7.0
17 Aug 2023 13:12:18
commit hash: 70ec5e55fb58603a1cc9a8a02da81471d2e3b299commit hash: 70ec5e55fb58603a1cc9a8a02da81471d2e3b299commit hash: 70ec5e55fb58603a1cc9a8a02da81471d2e3b299commit hash: 70ec5e55fb58603a1cc9a8a02da81471d2e3b299 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
devel/yyjson: A high performance C JSON library.

Needed for upcoming update of sysutils/fastfetch.

Number of commits found: 10