JmesPath syntax when there is a dot in key
neeraj9 opened this issue · comments
I have been trying to come up with appropriate JmesPath when there is a dot (".") in the key.
{
"some.key": 10
}
I am not sure how should I access the value for such or complex cases where the key has a dot.
Hi @neeraj9, thank you for your feedback.
Your question is not specific to our .NET implementation and is more general to JmesPath itself.
Here is how you can achieve your goal: just wrap your key in double quotes.
Thanks @springcomp thanks for the prompt revert. I made multiple attempts but could not do with your .NET library. It will be great if you have a sample or can point me to the usage of your library where this can be achieved.
@neeraj9 sorry for the misunderstanding.
This must be a bug.
Thanks for reporting I will have a look.
@neeraj9 I just tested with the current version and I cannot reproduce the bug.
Please, can you share which version you have an issue with?
@neeraj9, please feel free to reopen if you still experience any issue.