Registry / serialization / jsonpatch-v2

jsonpatch-v2

JSON →
library2.5.0gogounverified

A Go library for applying JSON Patch (RFC 6902) operations.

go get gomodules.xyz/jsonpatch/v2
INSTALL
IMPORT
SIG · JSONPATCH-V2
J
jsonpatch-v2
serializationgov2.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

jsonpatch
gomodules.xyz/jsonpatch/v2

Creates a JSON Patch operation and prints its JSON representation.

package main import ( "fmt" "gomodules.xyz/jsonpatch/v2" ) func main() { patch := jsonpatch.NewPatch("replace", "/name", "newvalue") fmt.Println(patch.Json()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.5.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
14
Bingbot
3
Amazon
1
Resources
jsonpatch-v2 — go get jsonpatch-v2 · libregistry