/rjson

Playground Binary JSON Beautifier

Primary LanguageC

rjson

A Playground-specific Binary JSON converter to normal JSON + beautifier.

There's used to be a same program but the source code is no longer found (actually I lost the source code), so this program re-creates the functionality.

Compile

MSVC

cl /Ferjson.exe /O2 program.cpp JSonParser\*.c

Clang

clang++ -O2 -o rjson program.cpp -xc JSonParser/*.c

Add .exe suffix for -o on Windows.

GCC

No instruction for GCC because it doesn't support single-command compilation of mixed C and C++ files. Blame GNU!

License

  • program.cpp - MIT License.
  • yajl - ISC License, modified by KLab.