Closed DayLightDancer closed 10 months ago
@DayLightDancer Can you please also add a unit test for this scenario?
Added the unit tests. I am not able to run the entire solution locally so the tests are created and run on separate solution and added in the existed file.
Thanks.
Can you take a look at the comments?
I've addressed the comments
HI, Please tell me if there is anything to do with that PR and when I can expect the new build?
You set the comments to resolved, but did you also commit your latest changes?
I think so. I've edited the files in place. I will appreciate any help complete that PR.
it seems that the files are not changed, can you please double check?
it seems that the files are not changed, can you please double check?
Yes. I will in few ours. But this is what is see
This one is not yet done:
This one is not yet done:
I found the problem:
Do you know how to solve it?(The commit doesn't belong to any branch)
Replace it by a one line:
// The SelectToken method can accept a string path to a child token ( i.e. "Manufacturers[0].Products[0].Price"). In that case it will return a JValue (some type) which does not implement the IEnumerable interface.
Can you check it, now?
I will merge this one and update it myself.
I will merge this one and update it myself.
Thank you verry much. I really appreciate it.
The .SelectToken method accept string path selection and JSONPath queries. The current code works only for the queries because the result is JObject. When the string path is selected the result is JValue and event with a valid result the code the code doesn't return valued result. https://www.newtonsoft.com/json/help/html/SelectToken.htm