diff options
Diffstat (limited to 'sca-cpp/trunk/modules/json/json.hpp')
-rw-r--r-- | sca-cpp/trunk/modules/json/json.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sca-cpp/trunk/modules/json/json.hpp b/sca-cpp/trunk/modules/json/json.hpp index f904718f05..bade096b86 100644 --- a/sca-cpp/trunk/modules/json/json.hpp +++ b/sca-cpp/trunk/modules/json/json.hpp @@ -388,6 +388,13 @@ const failable<value> jsonResultValue(const list<string>& s, JSONContext& cx) { } /** + * Convert a JSON payload to a list of values. + */ +const list<value> jsonValues(const list<value>& e) { + return elementsToValues(e); +} + +/** * Return a portable function name from a JSON-RPC function name. * Strip the "system." and "Service." prefixes added by some JSON-RPC clients. */ |