4 ms·
Good article, thanks! There is similar concept for json https://goessner.net/articles/JsonPath/ https://goessner.net/articles/JsonPath/ We heavily using it fo
by ekiauhce 4y ago
Good article, thanks!
There is similar concept for json https://goessner.net/articles/JsonPath/ https://goessner.net/articles/JsonPath/
We heavily using it for validation error messages. Like
{
"error": "wrong value",
"path": "foo/bar[1]/prop"
}
- threeseed 4y agoFor JVM languages you have OGNL: https://commons.apache.org/proper/commons-ognl https://commons.apache.org/proper/commons-ognl
- sideeffffect 4y agoJMESPath is what JSONPath should have been https://jmespath.org/ https://jmespath.org/ specified, standardized, with tests and implementations for multiple languages