-
Notifications
You must be signed in to change notification settings - Fork 7
How about return key and value after select? #3
Copy link
Copy link
Open
Description
Hi
var jsonPath = "$.my.path";
var jsonDoc = JsonDocument.Parse(json);
var element = jsonDoc.SelectElement(jsonPath); //returns JsonElement
var elements = jsonDoc.SelectElements(jsonPath); //returns JsonElement.ArrayEnumerator
the elements only contain value, like ["hello", "good"], [0, 1, 2].
if I want to update some property/values in the JSON body with string.replace, it's better to return the key and value.
So I want to make an extension in a PR, but I can't submit the PR due to the permission issue.
Could you grant the permission to the user "icelenix@163.com"? (then I can submit the commit and PR).
Thanks
Phil Yu
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels