fastports

yyjson 0.12.0

devel/yyjson

Fastest JSON library in C

Category
devel
Maintainer
pkubaj@FreeBSD.org
WWW
https://github.com/ibireme/yyjson
License
MIT
USES
cmake:testing pathfix

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.

Dependencies

Commit History

may be incomplete — full history at freebsd-ports on GitHub

Commit Credits Log message
0.12.0
979cbb12a7 files touched
Daniel Engberg (diizzy)
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
27f1196624 files touched
Piotr Kubaj (pkubaj)
devel/yyjson: update to 0.12.0
Changelog:	https://github.com/ibireme/yyjson/releases/tag/0.12.0
0.11.1
23fd94c62c files touched
Piotr Kubaj (pkubaj)
devel/yyjson: add USES=pathfix as suggested by stage-qa
0.11.1
d936bc0d23 files touched
Piotr Kubaj (pkubaj)
devel/yyjson: update to 0.11.1
Changelog:	https://github.com/ibireme/yyjson/releases/tag/0.11.1
0.11.0
e6c7fc2cf1 files touched
Piotr Kubaj (pkubaj)
devel/yyjson: update to 0.11.0
Changelog:	https://github.com/ibireme/yyjson/releases/tag/0.11.0
0.10.0
225df9143a files touched
Piotr Kubaj (pkubaj)
devel/yyjson: update to 0.10.0
Changelog:	https://github.com/ibireme/yyjson/releases/tag/0.10.0
0.9.0
c1deab268c files touched
Piotr Kubaj (pkubaj)
devel/yyjson: update to 0.9.0
Changelog:	https://github.com/ibireme/yyjson/releases/tag/0.9.0
0.8.0
3c0d16e569 files touched
Piotr Kubaj (pkubaj)
devel/yyjson: update to 0.8.0
Changelog:	https://github.com/ibireme/yyjson/releases/tag/0.8.0
0.7.0
6b09422d72 files touched
Piotr Kubaj (pkubaj)
devel/yyjson: enable building shared library
0.7.0
70ec5e55fb files touched
Piotr Kubaj (pkubaj)
devel/yyjson: A high performance C JSON library.
Needed for upcoming update of sysutils/fastfetch.