-
Notifications
You must be signed in to change notification settings - Fork 439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set for each entry in array #112
Comments
Hi, I am looking for the same, which allows to replace some entry in array on the fly. My app just receives json data from server as following and want to modify it in place: I can get the name from array, with the follow code snippet. If I dump the return byte slice val, it looks Set has taken effect but I can't set it back to the original slice (body). Any suggestion? Thanks
|
@Nighthawk22 , @ajeecai
|
Hello!
Would it be possible to add the possibility to set the value for each element in the array like this:
jsonparser.Set(jsonBody, []byte("\"\""), "issuesData", "issues", "[]", "extraFields", "[]", "html")
Thanks in advance,
Nighthawk
The text was updated successfully, but these errors were encountered: