GetPageSpeed Extras

cjson

How to install cjson (aarch64)

Ultralightweight JSON parser in ANSI C

License: MIT https://github.com/DaveGamble/cJSON

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo amazon-linux-extras install epel
sudo yum -y install cjson

Description

cJSON aims to be the dumbest possible parser that you can get your job done with. It's a single file of C, and a single header file.

Architecture

Optimized for aarch64 (ARM64) architecture. It can be used on AWS Graviton instances, as well as Raspberry Pi 4 and newer.

RPMs

Package Size Changelog
cjson-1.7.19-1.amzn2.aarch64 26 KiB Danila Vershinin (2026-04-03)
- Fixed indentation to use spaces for consistency. · - Corrected spelling errors identified by CodeSpell. · - Added NULL check in cJSON_DetachItemViaPointer. · - Prevented overlap issues in cJSON_SetValuestring. · - Limited recursion depth in cJSON_Duplicate to avoid stack exhaustion. · - Allocated memory for temporary buffer during number parsing. · - Corrected check in decode_array_index_from_pointer.
cjson-1.7.18-1.amzn2.aarch64 25 KiB Danila Vershinin (2026-04-02)
- Initial packaging based on Fedora spec

Subscribe