I want to iterate through an Object in a V8 C++ function.
NodeJS:
node.addProperties({"user":"testuser","password":"passwd"};
I want to pass "user" and "password", both names and values to a C++ method which takes parameters like:
AddProperty(char * name, char * value);
The number of name/value pairs may differ, so I need a generic solution.
Could I get some help to be put on the right track.
I have been writing simpler C++ wrappers for Node & V8, but I am just running out of ideas for this one :)