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.
JSONToVariant (Function)
Converts a JSON string to a Variant variable.
<Source>.JSONToRecord (Function)
Imports JSON data into the current record.
JSONToString (Function)
Converts the content of a JSON variable to a JSON string.
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.
TableToJSON (Function)
Converts the contents of a Table or TreeView Table control 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.
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.
<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.
JSONToXML (Function)
Converts a JSON string to XML.
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.
Analysis editor: the different types of sections
The different types of items proposed in the data model editor are as follows:
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.
HFSQL constants
List of constants used by the HFSQL functions....
1
3
4
5
6
>