Skip to content

zlikavac32/json-minify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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

About

Simple and fast JSON minifier

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages