diff options
author | Richard Knight <q@1bpm.net> | 2022-09-18 21:56:26 +0100 |
---|---|---|
committer | Richard Knight <q@1bpm.net> | 2022-09-18 21:56:26 +0100 |
commit | 6258a82af556285658a542876175b04039cd2707 (patch) | |
tree | e0afa33dfa1b9c7a6ab19090297dbf41e1d686d1 /README.md | |
parent | 05a9a94ba5af5f7efa1fbc7acc2f4045ad13f5f6 (diff) | |
download | csound-json-1.2.tar.gz csound-json-1.2.tar.bz2 csound-json-1.2.zip |
jsongetval added; deinit incorporated but not used as counterproductive for globals etcv1.2
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -210,6 +210,34 @@ Get a JSON object handle of the object contained in the specified key or index. * **index** index for accessing an array +### jsongetval +Get a numeric or string value from an object by string key or numeric index. + + Svalue jsongetval iJson, Skey + ivalue jsongetval iJson, Skey + Svalue jsongetval iJson, index + ivalue jsongetval iJson, index +* **Svalue** string value returned +* **ivalue** numeric value returned +* **iJson** JSON object handle to evaluate +* **Skey** key for accessing an object +* **index** index for accessing an array + + +## jsongetvalk +Get a numeric or string value from an object by string key or numeric index, at k-rate. + + Svalue jsongetvalk iJson, Skey + kvalue jsongetvalk iJson, Skey + Svalue jsongetvalk iJson, kindex + kvalue jsongetvalk iJson, kindex +* **Svalue** string value returned +* **kvalue** numeric value returned +* **iJson** JSON object handle to evaluate +* **Skey** key for accessing an object +* **kindex** index for accessing an array + + ### jsonpath Perform a JSONPath query and obtain the resulting JSON object handle. |