You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 26, 2020. It is now read-only.
@loneshark99 thx for reporting the issue. We will take a look and provide a fix, can't tell how fast right now but if you can/prefer we appreciate also PR.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected Behaviour
curl https://raw.githubusercontent.com/LearnWebCode/json-example/master/pets-data.json | jq '.pets[]'
should return
{
"name": "Purrsloud",
"species": "Cat",
"favFoods": [
"wet food",
"dry food",
"any food"
],
"birthYear": 2016,
"photo": "https://learnwebcode.github.io/json-example/images/cat-2.jpg"
}
{
"name": "Barksalot",
"species": "Dog",
"birthYear": 2008,
"photo": "https://learnwebcode.github.io/json-example/images/dog-1.jpg"
}
{
"name": "Meowsalot",
"species": "Cat",
"favFoods": [
"tuna",
"catnip",
"celery"
],
"birthYear": 2012,
"photo": "https://learnwebcode.github.io/json-example/images/cat-1.jpg"
}
Current Behaviour
If I try the previous on
Possible Solution
Steps to Reproduce (for bugs)
curl https://raw.githubusercontent.com/LearnWebCode/json-example/master/pets-data.json | jq '.pets[]'
Current behavior :
[
{
"name": "Purrsloud",
"species": "Cat",
"favFoods": [
"wet food",
"dry food",
"any food"
],
"birthYear": 2016,
"photo": "https://learnwebcode.github.io/json-example/images/cat-2.jpg"
},
{
"name": "Barksalot",
"species": "Dog",
"birthYear": 2008,
"photo": "https://learnwebcode.github.io/json-example/images/dog-1.jpg"
},
{
"name": "Meowsalot",
"species": "Cat",
"favFoods": [
"tuna",
"catnip",
"celery"
],
"birthYear": 2012,
"photo": "https://learnwebcode.github.io/json-example/images/cat-1.jpg"
}
]
This doesnt deference the array, so every filter after this breaks.
Context
Your Environment
The text was updated successfully, but these errors were encountered: