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

length is not working in JSON Path #167

Open
narendranvelmurugan opened this issue May 22, 2024 · 0 comments
Open

length is not working in JSON Path #167

narendranvelmurugan opened this issue May 22, 2024 · 0 comments

Comments

@narendranvelmurugan
Copy link

JSONPath: $.response.sample.ids.length

Object:
{ "response": { "sample": { "ids": [ 1146 ] } } }

Result: []

Expected: [1]

This returns empty array, it should have returned the count of elements in the sample.ids. Is there any to handle this case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant