pusher.flexvar is a C++ module for conveniently dealing with JSON-like data.
A C++ "flexible variable" library, designed for conveniently dealing with JSON/BSON-like data within C++.
It was designed to make writing the bridge code for C++ Node modules easier. It also happens to be fairly useful as a C++ library on its own. It allows code such as follows to be written in C++.
flexvar v, q; q = 42.001f; v["x"] = 4; v["y"] = 12; v["message"] = "Hello World";
This is a bit of an experiment in distributing C++ code via an NPM package...
Build the project and run the
Currently only tested on Windows in a Visual Studio + cygwin environment; however should be usable on any platform with minimal changes.
npm install --dev node rebuild.js