/nim_cjson

cjson for nim

Primary LanguageNimGNU General Public License v3.0GPL-3.0

nim_cjson

Nim_cjson is a Nim wrapper for the cjson library

Nim_cjson is distributed as a Nimble package and depends on nimgen and c2nim to generate the wrappers. The rax source code is downloaded using git.

Installation

Nim_cjson can be installed via Nimble:

> nimble install nimgen

> git clone https://github.com/muxueqz/nim_cjson
> cd nim_cjson
> nimble install -y

This will download, wrap and install nimrax in the standard Nimble package location, typically ~/.nimble. Once installed, it can be imported into any Nim program.