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
var jsonDocument map[string]interface{}
json.Unmarshal([]byte(jsonText), &jsonDocument)
pointerString := "/name/3"
pointer, _ :=gojsonpointer.NewJsonPointer(pointerString)
//SET a new value for the "name" in the document
pointer.Set(jsonDocument, "Aryan")
Its not adding. Please support this feature.
Are you supporting only update a value from a JSON document?
The text was updated successfully, but these errors were encountered:
Adding new values to existing list is not supported.
E.g.
jsonText :=
{ "name":["younus","fami","zayan"], "occupation": { "title" : "King", } }
if I try to add new value using
Its not adding. Please support this feature.
Are you supporting only update a value from a JSON document?
The text was updated successfully, but these errors were encountered: