One of the best tools I've found for manipulating JSON via JsonPath syntax is <a href="https://jsonata.org" rel="nofollow">https://jsonata.org</a><p>In addition to simple queries that allow you to select one (or multiple) matching nodes, it also provides some helper functions, such as arithmetic, comparisons, sorting, grouping, datetime manipulation, and aggregation (e.g. sum, max, min).<p>It's written in JS and can be used in Node or in the browser, and there's also a Python wrapper: <a href="https://pypi.org/project/pyjsonata/" rel="nofollow">https://pypi.org/project/pyjsonata/</a>