diff options
author | Leonid Pospelov <pospelovlm@yandex.ru> | 2023-05-03 08:41:53 (GMT) |
---|---|---|
committer | Leonid Pospelov <pospelovlm@yandex.ru> | 2023-05-03 08:41:53 (GMT) |
commit | c64f6d5a5af3154734aa0b13118df0383ff90ed2 (patch) | |
tree | 903343fc9deb08303ac11fe9dad5ec7a07d93eb5 | |
parent | 26ca1026c794f858b65dc487013febd6cd7b3632 (diff) | |
download | CMake-c64f6d5a5af3154734aa0b13118df0383ff90ed2.zip CMake-c64f6d5a5af3154734aa0b13118df0383ff90ed2.tar.gz CMake-c64f6d5a5af3154734aa0b13118df0383ff90ed2.tar.bz2 |
Help: Document append functionality of string(JSON)
-rw-r--r-- | Help/command/string.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/command/string.rst b/Help/command/string.rst index e226aa1..0e69b27 100644 --- a/Help/command/string.rst +++ b/Help/command/string.rst @@ -576,6 +576,9 @@ Functionality for querying a JSON string. Set an element in ``<json-string>`` at the location given by the list of ``<member|index>`` arguments to ``<value>``. The contents of ``<value>`` should be valid JSON. + If ``<json-string>`` is an array, ``<value>`` can be appended to the end of + the array by using a number greater or equal to the array length as the + ``<member|index>`` argument. .. signature:: string(JSON <out-var> [ERROR_VARIABLE <error-var>] |