ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV, WEBDEV and WINDEV Mobile 2025 feature!
This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / JSON functions
  • Properties specific to the description of variables of type jsonReader
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The type jsonReader type allows linear browsing of a large JSON document with optimal performance and reduced memory usage. The characteristics of this JSON document can be read using various WLanguage properties.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Warning This type of variable is only available from version 2025 Update 3.
Example
Lecteur_JSON is jsonReader = JSONOpenReader("fichier.json")
FOR EACH Lecteur_JSON IN-DEPTH
	...
END
Properties

Properties specific to the description of variables of type jsonReader

The following properties can be used to manipulate a JSON document:
Property nameType usedEffect
NameCharacter string
  • Member name, if current element is a member of an object, member name.
  • Empty string ("") if the element corresponds to the root or an array element.
This property is read-only.
DepthentierDepth of current element.
This property is read-only.
ParentjsonReaderParent element in an in-depth journey.
This property is read-only.
SourceJSONCharacter stringJSON source corresponding to the current element.
This property is read-only.
TypeentierType of current element:
  • wlBoolean simple JSON Boolean value.
  • wlUnicodeString JSON single string value.
  • wlInteger simple JSON integer value.
  • wlNull simple JSON value Null.
  • wlNumeric single decimal JSON value.
  • wlVariantObject JSON object.
  • wlVariantTableau JSON array.
  • wlVide uninitialized drive.
This property is read-only.
ValueAll typesValue if current element is a simple type (other than object or array).
This property is read-only.
Minimum version required
  • Version 2025
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/14/2025

Send a report | Local help