Obviously this extension does not have much meaning for a developer who uses jsonpath in his python code and can call simply 'datum.path'.
However it opens possibilities for new use cases where a python-written application implements a service that exposes jsonpaths to the user.
As a particular example, consider XPath expressions (with their name() function) in XSLT template.
Similarly, someone could write a templating system that uses jsonpath.
<template match="$">
<for-each select="*">Object <value-of select="@.`path`"/> has value <value-of select="@"/></for-each>
<template>
Obviously this extension does not have much meaning for a developer who uses jsonpath in his python code and can call simply 'datum.path'.
However it opens possibilities for new use cases where a python-written application implements a service that exposes jsonpaths to the user.
As a particular example, consider XPath expressions (with their name() function) in XSLT template. Similarly, someone could write a templating system that uses jsonpath.