Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%JSON_ArrayFromString function


Function

Create JSON array from string

Declaration


Blok kódu
languageesl
themeConfluence
%JSON_ArrayFromString(
    TEXT in text
 )


Parameters


textText representation of JSON array


Return value
Handle to JSON array, must be released by %JSON_FreeArrayHandle.


Description

Function create JSON array from string.

Exception is thrown if cannot parse given text to JSON array.

Example


Blok kódu
languageesl
themeRDark
 INT _arr
 _arr := %JSON_ArrayFromString("[1,2,3]")

 %JSON_FreeArrayHandle(_arr)