An open API service indexing awesome lists of open source software.

https://github.com/zlikavac32/json-minify

Simple and fast JSON minifier
https://github.com/zlikavac32/json-minify

c json json-minify

Last synced: about 1 month ago
JSON representation

Simple and fast JSON minifier

Awesome Lists containing this project

README

          

# JSON minifier

This is a simple JSON minifier implementation that removes whitespaces from a JSON passed on the STDIN and outputs minified JSON on the STDOUT. Minifier does not parse anything but just rather uses simple state machine to remove whitespaces not contained within a string.

It's capable of processing 1Gb/s when reading from `tmpfs` on a `Ryzen 7` CPU.

Compile it with `gcc -03 json-minify.c -o json-minify`