Unlike Lua, C/C++ does not support introspection. Consequently, it takes greater effort to use JSON-RPC or XML-RPC with C/C++. For example, the Lua XML-RPC stack uses introspection to automatically de-serialize and serialize Lua objects. In contrast, C/C++ users must write support code to manually de-serialize and serialize JSON-RPC and XML-RPC data.
See the C/C++ reference manual for more information: