-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
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
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?
Metadata
Metadata
Assignees
Labels
No labels