diff options
author | Brad King <brad.king@kitware.com> | 2023-05-04 13:02:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-05-04 13:02:10 (GMT) |
commit | cb76152e36710fbd3fa94a79c9fc47c1f7d10186 (patch) | |
tree | 380c653d55eaf67a0ca85c892f1b5cf132ba1a71 /Help | |
parent | 28dd02c3ba9dafb3df614565ec83223f61f30280 (diff) | |
parent | c64f6d5a5af3154734aa0b13118df0383ff90ed2 (diff) | |
download | CMake-cb76152e36710fbd3fa94a79c9fc47c1f7d10186.zip CMake-cb76152e36710fbd3fa94a79c9fc47c1f7d10186.tar.gz CMake-cb76152e36710fbd3fa94a79c9fc47c1f7d10186.tar.bz2 |
Merge topic 'Pospelove-master-patch-11353'
c64f6d5a5a Help: Document append functionality of string(JSON)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8453
Diffstat (limited to 'Help')
-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>] |