Show HN: JSON Browse – Fetch, filter and manipulate your JSON inside the browser
jsonbrowse.com
jsonbrowse.com
{
"message": "API rate limit exceeded for 52.53.190.53. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
"documentation_url": "https://developer.github.com/v3/#rate-limiting"
}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.
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.
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?
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.
For full transparency, the proxy is hosted on Zeit's `now` service and I don't even have access to logs so accidental leaks should be pretty safe.
If this is really being just run as a proxy setup, the jsonbrowse-proxy might not need the isomorphic-fetch lib, in which case you can just use the embedded node-fetch instead, which has max response size and timeout options available.
https://github.com/dpedu2/sless
It's intended for reading structure logs - a file containing json objects separated by newlines.
foo = {
"bar": true,
"baz": false
}
to: foo.bar = true;
foo.baz = false;
then I have extra quotes to delete. Those half seconds add up over a year!I guess you could argue the opposite though, that this looks messy:
let headers = {
Expires: 0,
'Content-Type': 'application/json'
}
Which leads me to believe it's a matter of personal preference, and you should just pick one and stick to it :) And look, there's even an eslint rule for it: http://eslint.org/docs/rules/quote-props var foo = "bar";
var baz = {
foo: "qux"
}; {
bar: "qux"
}
?Don't you use syntax highlighting? I can't imagine this ever being an issue...
Suggestion : Filtering seems to work only on object keys at the outermost level (e.g full_name in demo). It would be nice to be able to filter inner keys as well (e.g html_url in demo)