jsonparser icon indicating copy to clipboard operation
jsonparser copied to clipboard

[Proposal] New function based on EachKey

Open marperia opened this issue 3 years ago • 0 comments

EachKey gets an array of strings as a parameter, but it would be quite better for me to iterate over map data structure. Could you please make a function with paths specified this like?

myGreatPaths := map[string][]string{
	"event": []string{"event"},
	"user_id": []string{"arg", "uid"},
	...
}

marperia avatar Aug 30 '22 20:08 marperia