We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On the demo website you can do .drinkPreference :first-child to get the first child, whatever its type ("whiskey").
.drinkPreference :first-child
"whiskey"
However, this implementation does not behave this way: unless a type is given, it does not return anything.
$ python -m jsonselect ".drinkPreference :first-child" conformance_tests/upstream/level_1/basic.json $ python -m jsonselect ".drinkPreference string:first-child" conformance_tests/upstream/level_1/basic.json "beer"
The text was updated successfully, but these errors were encountered:
Update: I edited my initial message to make it clearer what the issue is
Sorry, something went wrong.
Dupe of #1
No branches or pull requests
On the demo website you can do
.drinkPreference :first-child
to get the first child, whatever its type ("whiskey"
).However, this implementation does not behave this way: unless a type is given, it does not return anything.
The text was updated successfully, but these errors were encountered: