News for hackers. Stuff that matters.
Re:Show HN: JSON Browse – Fetch, filter and manipulate your ... by jordache on Monday January 16, 2017 @06:19PM (#13413920)
Chrome devtools? I feel the collapsed tree visualization of parsed JSON is already sufficient.

I'll just access the API I need within the authentication context of my app. Anything I would want to do with the JSON data is directly available in the devtools console. It has the added benefit of copying/pasting rough code I write in the console into my IDE to continue the work.

Re:Show HN: JSON Browse – Fetch, filter and manipulate your ... by amw-zero on Monday January 16, 2017 @11:57PM (#13415298)
That gets you decently far, especially with small JSON responses. You can't filter with any tree display though, which is what I normally reach to jq for. Being able to filter an array of objects down to only one property in each object is invaluable to me.

For example, in a JSON payload that has an array of 15 objects, I would like to see all IDs of those objects. The output would be something like [1230, 134, 65, 99]. I like looking at that vs scrolling and collapsing a bunch of objects.

Re:Show HN: JSON Browse – Fetch, filter and manipulate your ... by jordache on Tuesday January 17, 2017 @07:29AM (#13416895)
write a quick lodash method call to filter your collection.

given the consistent nature of data collections I almost never have a need to examine the full dataset via some front end debugging tool. trust the data to be consistent or not?

Re:Show HN: JSON Browse – Fetch, filter and manipulate your ... by amw-zero on Thursday January 19, 2017 @08:37AM (#13435622)
Definitely do whatever you think is easier in your workflow. Not everyone uses lodash, but I know a lot of people that prefer to do mapping / filtering of JSON in an actual programming language. That doesn't make one way better or worse than another. 2 ways of accomplishing the same thing.

Not sure what the point about consistency has to do with anything? What if it's an array of consistent, but large objects?

I find I need to examine a full page of JSON quite frequently. I.e. there's some bug, and I need to check for any occurrences of null for a specific property.