BSD Ports

devel/yyjson 0.13.0 NetBSD

High performance JSON library written in ANSI C

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
8982deb84b
License
mit
Categories
devel
Package size
129.8 KiB, 640.4 KiB installed

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.

In the other systems

SystemPortVersion
NetBSDdevel/yyjson0.13.0
FreeBSDdevel/yyjson0.13.0
OpenBSDdevel/yyjson0.12.0
DragonFlydevel/yyjson0.10.0
MidnightBSDdevel/yyjson0.11.1
HardenedBSDdevel/yyjson0.13.0
GhostBSDdevel/yyjson0.13.0

Install

Binary package:

pkgin install yyjson

From pkgsrc:

cd /usr/pkgsrc/devel/yyjson && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.13.0
NetBSD 10.1 aarch640.12.0
SmartOS / illumos x86_640.13.0
macOS 15 arm640.13.0

Dependencies

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
8982deb84b adam yyjson: updated to 0.13.0
0.13.0 (2026-09-08) Added - Add a set of `write_buf()` functions for writing JSON to a buffer without allocation. - Add `YYJSON_FREESTANDING` compile-time option to build without libc (e.g. wasm). - Add `YYJSON_DISABLE_FILE` compile-time option to disable file/fp read and write APIs. - Add `YYJSON_READER_DEPTH_LIMIT` and `YYJSON_WRITER_DEPTH_LIMIT` compile-time options. - Add `YYJSON_WRITE_LOWERCASE_HEX` flag to write `\uXXXX` escapes in lowercase. - Add Swift Package Manager traits for compile-time configuration. Changed - Change `set_int()` parameter type from `int` to `int64_t`. - Add `const` qualifier to parameters of read-only functions. Fixed - Fix `tinycc` preprocessor error. - Fix an uninitialized read when parsing numbers. …