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?
Activity
ganeshk312 commentedon Aug 26, 2023
this is a much needed functionality. @xeipuuv can this be addedd please?