1. Patrice Domange
  2. PowerBuilder
  3. Monday, 18 July 2022 13:32 PM UTC

Using PB2021/PB2022, I'm trying to use JSONPackager::SetValue method to update JSON File values.

The problem I encounter, is that the SetValue method does not allow to update a value using is path instead of its key !
Indeed, if the same value exists elsewhere in the JSON structure, only the first one will be updated using the SetValue.

So, per example, if I wanted to update the User below Git, How can I achieve it ? 


Otherwise, How can i Update a specific array Item ?

I can't find any method for this...

 



There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.