소스 검색

Merge topic 'Pospelove-master-patch-11353'

c64f6d5a5a Help: Document append functionality of string(JSON)

Acked-by: Kitware Robot <[email protected]>
Merge-request: !8453
Brad King 2 년 전
부모
커밋
cb76152e36
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      Help/command/string.rst

+ 3 - 0
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>]