Resolved Jsongenerator issue
- Advice
- Malek Taha
- PowerBuilder
- Wednesday, 1 February 2023 10:18 PM UTC
Hi
I am building a JSON string using the jsongenerator object
I have a root item with a handle of ll_childobject
In a loop i am trying to create a new array called "measures"
on the first iteration i get 45 for the value of ll_measuresArray and 46 for the value of ll_measuresObject
On the second itetration i get again 45 for the ll_measuresArray and 75 for the value of ll_measuresObject
the array handle did not change not sure if this is a known issue or not
using PB2019R3 build Build2779
any help would be greately appreciated
Thanks
Malek
FOR ii = 1 TO ll_rowcount STEP 1
---------
ll_measuresArray = lnv_JsonGenerator.AddItemArray(ll_childobject, "measures")
-----
ll_measuresObject = lnv_JsonGenerator.AddItemObject(ll_measuresArray)
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.