The Adabas & Natural by Software AG Ideas Portal is hosted by Aha! Labs Inc.. Therefore, personally identifiable information are processed by Aha! Labs Inc., a company based in the United States of America. By using this Ideas Portal you agree to the
Terms of Service of Aha! Labs Inc.. For further information about Aha’s handling of your personally identifiable information, please go to:
https://www.aha.io/legal/security/gdpr.
WinDev provides native JSON features via:
1. WLanguage JSON Functions (Classic procedural code)
These functions allow you to:
Create JSON (
JSONBuild)Parse JSON (
JSONToVariant,JSONToString)Navigate JSON structures via variants or associative arrays
Serialize/deserialize objects
2. JSON Variables (Native JSON type)
WinDev has a
jsontype that behaves like a structured object.Example:
3. Mapping JSON to Classes / Structures
You can easily bind:
JSON → Class (
Deserialize)Class → JSON (
Serialize)4. REST Integration
WinDev REST functions (
HTTPRequest,RESTSend, etc.) commonly work with JSON responses.📌 Basic Examples
Example 1 — Parse JSON using Variant
Example 2 — Build JSON Manually (
JSONBuild)Result:
Example 3 — Using the
jsonTypeThe
jsontype acts like a dynamic object.Example 4 — Deserialize JSON into a Class
Class:
Code:
Example 5 — Serialize a Class into JSON
Example 6 — Calling a REST API and Reading JSON
👉 Summary
Feature
Supported?
Notes
Parse JSON
✅
JSONToVariant,jsontypeBuild JSON
✅
JSONBuild,jsontypeSerialize Class → JSON
✅
Serialize(..., psJSON)Deserialize JSON → Class
✅
Deserialize(..., psJSON)REST with JSON
✅
HTTPRequest,RESTSendIf you want, I can also provide:
A full CRUD example using JSON + HFSQL
A REST client project template (WinDev UI + JSON)
Comparison of the three different JSON approaches in WinDev
Just tell me!
Please also for mainframe z/OS
I would suggest to add also a parsing Json messages, as XML is parsed with the PARSE XML statement (or extend the PARSE XML to include PARSE JSON , as an option
It is still under review.
Hello,
I would to know if there is any progress in that issue.
Maybe a plan schedule or other?