Skip to content
New issue

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

Having Trouble with Minus in JsonPath #9739

Closed
ulfgebhardt opened this issue Nov 16, 2023 · 3 comments
Closed

Having Trouble with Minus in JsonPath #9739

ulfgebhardt opened this issue Nov 16, 2023 · 3 comments
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas

Comments

@ulfgebhardt
Copy link

ulfgebhardt commented Nov 16, 2023

Are you experiencing an issue with...

shields.io

🐞 Description

When trying to reference vue-i18n with a jsonpath badge, I get unparseable jsonpath query while https://jsonpath.com/ says everything works fine.

The json ressource is: https://raw.githubusercontent.com/IT4Change/boilerplate-frontend/master/package.json
The queries, which all work on jsonpath, but not on the badge for some reasons are:

  • dependencies.vue-i18n
  • dependencies.$['vue-i18n']
  • dependencies.'vue-i18n'
  • ...

Related issue: #5580

🔗 Link to the badge

https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FIT4Change%2Fboilerplate-frontend%2Fmaster%2Fpackage.json&query=dependencies.vue-i18n&label=vue-i18n&color=green

.

💡 Possible Solution

Unknown

Related issue, which did not solve my problem even tho it did for the author: #5580

@ulfgebhardt ulfgebhardt added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label Nov 16, 2023
Copy link
Contributor

Badge tested using npm run badge https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FIT4Change%2Fboilerplate-frontend%2Fmaster%2Fpackage.json&query=dependencies.vue-i18n&label=vue-i18n&color=green
Output is available here

@chris48s
Copy link
Member

@ulfgebhardt
Copy link
Author

ulfgebhardt commented Nov 16, 2023

Works like a charm, thank you ❤️

Sorry for borthering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas
Projects
None yet
Development

No branches or pull requests

2 participants