ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

JSON
JSON (JavaScript Object Notation – Object Notation from JavaScript) is a lightweight data exchange format...
<JSON variable>.ToString (Function)
Converts the content of a JSON variable to a JSON string.
JSON: Handling large (multi-gigabyte) files
Removes an existing folder from the list of subscribed folders.
This new function is available from WINDEV Suite SaaS 2025 - Update 2.
JSON variable functions
Envoie une requête HTTP en mode asynchrone : le programme continue de s'exécuter et la réponse est traitée par une procédure spécifique.
Cette fonction est une nouveauté disponible à partir de WINDEV Suite SaaS 2025 Update 3.
<JSON variable>.ToXML (Function)
Converts a JSON string to XML.
FOR EACH statement (loop through a jsonReader variable)
Using the FOR EACH statement on a variable of type jsonReader allows for different types of loops:
  • Loop through a level.
  • Loop through a level with copy.
  • In-depth loop.
Note: This feature is only available from version 2025 Update 3.
<Source>.RecordToJSON (Function)
Retrieves the structure and value of the current record and exports them into a string in JASON format.
TableToJSON (Function)
Converts the contents of a Table or TreeView Table control to a JSON string.
JSONToVariant (Function)
Converts a JSON string to a Variant variable.
<Source>.JSONToRecord (Function)
Imports JSON data into the current record.
StringToJSON (Function)
Converts a JSON string into a JSON variable.
<Table>.ToJSON (Function)
Converts the contents of a Table or TreeView Table control to a JSON string.
JSONValid (Function)
Checks the validity of a JSON string.
JSONToString (Function)
Converts the content of a JSON variable to a JSON string.
HExportJSON (Function)
Exports the records found in a data file (HFSQL or OLE DB), view or query to a JSON file.
Analysis editor: the different types of sections
The different types of items proposed in the data model editor are as follows:
<xmlNode>.ToJSON (Function)
Converts an XML string to JSON.
Serialize (Function)
Transforms the following elements into a specific format:
  • a structure (and its subelements),
  • a class (and its subelements),
  • an array (including the associative arrays),
  • a queue,
  • a stack,
  • a list.
JSONOpenReader (Function)
Creates a reader to read a JSON document without loading it into memory.
Note: This function is only available from version 2025 Update 3.
VariantToJSON (Function)
Converts the content of a Variant variable to JSON.
<Source>.ExportJSON (Function)
Exports the records found in a data file (HFSQL or OLE DB), view or query to a JSON file.
HJSONToRecord (Function)
Imports JSON data into the current record.
XMLToJSON (Function)
Converts an XML string to JSON.
<xmlDocument>.ToJSON (Function)
Converts an XML string to JSON.
ExtractStringBetween (Function)
Allows you to:
  • extract a substring between two given separators from a character string.
  • search for substrings between two given separators in a character string.
Deserialize (Function)
Deserializes a buffer or a character string containing the data from a class, structure, array (including an associative array), queue, stack, list or advanced variable, as well as their subelements.
HExportJSONString (Function)
Exports the records from a data file (HFSQL or OLE DB), view or query to a JSON string.
JSONToXML (Function)
Converts a JSON string to XML.
HRecordToJSON (Function)
Retrieves the structure and value of the current record and exports them into a string in JASON format.
<Source>.ExportJSONString (Function)
Exports the records from a data file (HFSQL or OLE DB), view or query to a JSON string.
JSON (Type of variable)
The JSON type makes it possible to simplify actions on data in JSON format.
AuthImportToken( Function)
Creates a webservice access token from an description token in JSON format.
JSONExecute (Function)
Calls a server URL that returns data in JSON format (JavaScript Object Notation).
JSONExecuteExternal (Function)
Calls an external server URL that returns data in JSON format (JavaScript Object Notation).
JSONXMLConverter (Type of variable)
... of an XML object to JSON (or conversely) via XMLToJSON and JSONToXML).
<Source>.ImportJSON (Function)
Imports a JSON file into a data file in HFSQL Classic format (data file described in the data model...
HImportJSON (Function)
Imports a JSON file into a data file in HFSQL Classic format (data file described in the data model...
1
2
>