mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 05:39:57 -05:00
Help: Document append functionality of string(JSON)
This commit is contained in:
@@ -576,6 +576,9 @@ Functionality for querying a JSON string.
|
|||||||
Set an element in ``<json-string>`` at the location
|
Set an element in ``<json-string>`` at the location
|
||||||
given by the list of ``<member|index>`` arguments to ``<value>``.
|
given by the list of ``<member|index>`` arguments to ``<value>``.
|
||||||
The contents of ``<value>`` should be valid JSON.
|
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::
|
.. signature::
|
||||||
string(JSON <out-var> [ERROR_VARIABLE <error-var>]
|
string(JSON <out-var> [ERROR_VARIABLE <error-var>]
|
||||||
|
|||||||
Reference in New Issue
Block a user