Closed AuroraTea closed 11 months ago
origin := {"a":"a"} new, err := sjson.Set(origin, "", map[string]any{ "b": "b", })
Expect: {"a":"a","b":"b"} but give me an error path cannot be empty
{"a":"a","b":"b"}
path cannot be empty
What is the correct way to write it?
@AuroraTea you may take a look at #69, it is the same use case.
@natenho Thanks!!!
Expect:
{"a":"a","b":"b"}
but give me an errorpath cannot be empty
What is the correct way to write it?