Description
JSON is a well recognised standard and is used heavily in web applications. Maybe this could be a new uniface data type?
Use Case
We would like to see support for: - Building a JSON list - Turning a JSON list to a Uniface list - Turning a Uniface list to a JSON list - Getting an item from a JSON list
Importance
JSON is a much lighter way to package data and is becoming a very recognised method. It would be nice to have fast support for it.
Type
Uniface 4GL
Operating System
Not Applicable
Status
Closed
Status=Closed
In Uniface 9.6.04 the Struct functionality has been extended to support conversion to and from JSON streams. Two new Proc statements have been added—structToJson and jsonToStruct
; the missing part….
variable
string vJson
endVariable
jSon = “{‘name’:’field.entity.model’, ‘value’:’xyz’}”
jSonToStruct …