Why the path starts with "X." instead of $?
Closed this issue · 4 comments
YehudahA commented
Why the path starts with "X." instead of $?
joebeachjoebeach commented
Why $
instead of X
? Both are arbitrary. If you provide a reason along with a pull request, I'm open to it.
YehudahA commented
$
is used by SQL Server, Oracle and more.
YehudahA commented
From JsonPath spec:
JSONPath assumes the abstract name $ assigned to the outer level object.
joebeachjoebeach commented
I'm closing this as I don't think $
is a great idea. While declining in popularity, jQuery is still used all over the internet, and it is universally used as the $
variable. I think that would cause a lot more confusion in this app than using x
.