Hey! Thanks for the great OSS library!
Running into a bug where I have a Dictionary<string, string> which fails when calling GetValueByPath due to the parsing thinking it is an array.
For example -
var dict = new Dictionary<string, string>
{
["1"] = "hello world"
};
// throws
var ex = dict.GetValueByPath("[1]");
Relevant code is here, I believe - https://github.com/iyulab/ObjectPath/blob/main/src/ObjectPath/ObjectPath.cs#L38-L41
Hey! Thanks for the great OSS library!
Running into a bug where I have a Dictionary<string, string> which fails when calling
GetValueByPathdue to the parsing thinking it is an array.For example -
Relevant code is here, I believe - https://github.com/iyulab/ObjectPath/blob/main/src/ObjectPath/ObjectPath.cs#L38-L41