Help: Add 4.3 version tags for string JSON operations

Amend commit 15973ff247 (string(JSON): Add GET_RAW mode, 2025-12-16)
and commit 06e6f1e69f (string(JSON): Add STRING_ENCODE mode,
2025-12-16).

Fixes: #27633
This commit is contained in:
Tyler Yankee
2026-02-22 16:56:46 -05:00
parent 401ba7d8ca
commit 8a74c4c6dc

View File

@@ -569,9 +569,11 @@ string is passed as a single argument even if it contains semicolons.
GET_RAW <json-string> [<member|index> ...])
:target: JSON-GET-RAW
.. versionadded:: 4.3
Get an element from ``<json-string>`` at the location given
by the list of ``<member|index>`` arguments. Similar to
`GET <JSON-GET_>`__, but does not convert number, string,
:cref:`GET <JSON-GET_>`, but does not convert number, string,
boolean, or null elements.
.. signature::
@@ -640,5 +642,7 @@ string is passed as a single argument even if it contains semicolons.
STRING_ENCODE <string>)
:target: STRING-ENCODE
.. versionadded:: 4.3
Turn a raw string into a JSON string surrounded by quotes. Special characters
will be properly escaped inside the JSON string.