Jsonpath url Online
About
Convert your yaml,json,ini config from url online,and give you a new jsonpath config url.
Getting Started
- You can visit this site to generate and preview a final url online: https://jsonpath.utils.men
- You can use the npm package to generate the final url:
npx @contributionls/utils-cli jsonpath -u url -j $.foo
- You can also build the final url by yourself,here is the url pattern:
https://api.utils.men/jsonpath?url=${encodeURIComponent(url)}&jsonpath=${encodeURIComponent(jsonpath)}
example:
For yaml:
https://api.utils.men/jsonpath?source=json&jsonpath=%24.foo&url=https%3A%2F%2Fgist.githubusercontent.com%2Fcontributionls%2F6ab023e9d4c1e17fc3dc13220812ca6f%2Fraw%2Fa.yaml
For json
https://api.utils.men/jsonpath?source=json&jsonpath=%24.foo&url=https%3A%2F%2Fgist.githubusercontent.com%2Fcontributionls%2F6ab023e9d4c1e17fc3dc13220812ca6f%2Fraw%2Fa.json