github.com/lukechampine/mjson (go): Package mjson modifies JSON super fast. Modifications consist of a path and a replacement value. A "path" in this context means a set of accessors (object keys or array indices) that reference an object or array element. For example, given this object:  The following path accesses the value "3":  The Set functions do nothing if the supplied path is malformed. A path is considered malformed if its path references an element that does not exist, including out-of-bound indices and object keys that are not valid JSON strings.  As a special case, the length of the array (at application time) is a valid array index. When this index is the last accessor in the path, the value will be appended to the end of the array. If this special index is not the last accessor, the path is considered malformed (and thus is ignored).
Keywords: json