You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and you want to add another attribute to User 1 and you use the setObj method it will overwrite all other attributes and only saves the new one that you want.
The text was updated successfully, but these errors were encountered:
when using the
objSet
method it and try to add data to a nested JSONObject it overwrites all other data.For example, if you have this JSON file:
and you want to add another attribute to
User 1
and you use thesetObj
method it will overwrite all other attributes and only saves the new one that you want.The text was updated successfully, but these errors were encountered: