News for hackers. Stuff that matters.
Re:Show HN: a small weekendish project - JSON Blob by toki5 on Wednesday January 02, 2013 @12:30PM (#4997830)
I'm a touch confused -- http://www.jsoneditoronline.org/

Is this your site as well?

Re:Show HN: a small weekendish project - JSON Blob by tburch on Wednesday January 02, 2013 @12:33PM (#4997846)
It's not, but it uses that editor. The difference between the two is that with JSON Blob, you can collaboratively edit/share your JSON and use it programmatically via the JSON Blob API.
Re:Show HN: a small weekendish project - JSON Blob by toki5 on Wednesday January 02, 2013 @12:37PM (#4997869)
I don't know why it didn't even occur to me that the editor could be a third-party library. Duh :)

Thanks for clarifying, and great work!

Re:Show HN: a small weekendish project - JSON Blob by callmeed on Wednesday January 02, 2013 @02:32PM (#4998691)
Very awesome. I use http://jsonviewer.stack.hu/ often but this looks much cleaner.

Do you plan to keep it up indefinitely or open-source it?

Re:Show HN: a small weekendish project - JSON Blob by tburch on Wednesday January 02, 2013 @03:14PM (#4998977)
It's open sourced - https://github.com/tburch/jsonblob.

It's running on a single Heroku dyno with the free MongoHq service, so at some point I'll have to figure out what to do when there's more than 512MB of documents stored, but for now it's running indefinitely.

Re:Show HN: a small weekendish project - JSON Blob by fredsted on Wednesday January 02, 2013 @01:49PM (#4998411)
Nice job. I love these kinds of small helper/utility sites, it's big part of why I follow HN.

Is there a directory of sites like this somewhere, by the way?

Re:Show HN: a small weekendish project - JSON Blob by Cyranix on Wednesday January 02, 2013 @02:08PM (#4998540)
I found three such directory sites which have different approaches.

http://hnshowcase.com : visual preview, filtering, social integration, etc.

http://showinghn.com : minimalist list based on /newest polling

https://twitter.com/JustShowHN : Twitter feed based on main RSS

Re:Show HN: a small weekendish project - JSON Blob by ericcholis on Wednesday January 02, 2013 @01:09PM (#4998112)
Could be useful if one was writing an DB Admin backend for MongoDB.
Re:Show HN: a small weekendish project - JSON Blob by hellopat on Wednesday January 02, 2013 @02:34PM (#4998709)
I'm working on one right now and will definitely be integrating this into it. It's a perfect fit.
Re:Show HN: a small weekendish project - JSON Blob by geuis on Wednesday January 02, 2013 @11:37PM (#5001044)
Nicely done, sir. Wasn't exactly sure what the true power was for a minute. I really like the json editor, but what really sells it is being able to have mock urls that actually function. Perfect for setting up a data source via the api for use among multiple engineers. You should somehow make that bit of info more prominent in the demo.
Re:Show HN: a small weekendish project - JSON Blob by tburch on Wednesday January 02, 2013 @11:58PM (#5001096)
Thanks! I definitely didn't do a good job at that based on the feedback I've received. I'll try to make it more prominent because that was the sole purpose of the project.
Re:Show HN: a small weekendish project - JSON Blob by jarofgreen on Wednesday January 02, 2013 @03:45PM (#4999158)
"This page is asking you to confirm that you want to leave - data you have entered may not be saved."

... far to sensitive. You can press "clear" in the toolbar then try to close the browser tab and it'll pop up on a empty document.

Personally, I wouldn't have that at all.

Apart from that, it looks very nice. Many options for manipulating the JSON object, cool!

Re:Show HN: a small weekendish project - JSON Blob by e1ven on Wednesday January 02, 2013 @12:34PM (#4997852)
Nice! I have to use things like this all the time when debugging writes to mongo, so this is really neat. I like the design, although being able to resize the windows would be nice. On my 17" Macbook, there's more unused space that I really need.

It's also really cool that you can save/restore - I could see this being used like jsFiddle.

GL!

Re:Show HN: a small weekendish project - JSON Blob by BillSaysThis on Wednesday January 02, 2013 @09:24PM (#5000742)
I like the idea bu... When adding new key/value pairs, the text 'field' and 'value' should either be placeholders or selected on focus so a user's first keypress wipes those strings from the field. Having to manually select all is not intuitive and forces the user to do work easily done by the computer.
Re:Show HN: a small weekendish project - JSON Blob by Erwin on Thursday January 03, 2013 @06:45AM (#5001928)
Regarding the presentation part of this, even if you don't use it for exchanging data, serializing JSON to YAML can output a nicely readable and terse structure. The example JSON ends up looking like this: http://pastebin.com/gw6SGz4U
Re:Show HN: a small weekendish project - JSON Blob by mahmoudimus on Wednesday January 02, 2013 @12:43PM (#4997918)
This is awesome :) I'm looking for a way to interactively build something like this into our documentation at https://balancedpayments.com/docs/api
Re:Show HN: a small weekendish project - JSON Blob by tburch on Friday January 04, 2013 @03:16PM (#5009596)
Have you seen Swagger? https://github.com/wordnik/swagger-core/

I'm going to try to get this working for JSON Blob API's documentation over the weekend.

Re:Show HN: a small weekendish project - JSON Blob by arms on Wednesday January 02, 2013 @09:23PM (#5000738)
Very nice. This is one of those things where I don't need it right now, but in 2 weeks I'll be thinking "where the hell is that bookmark..." :)
Re:Show HN: a small weekendish project - JSON Blob by syassami on Wednesday January 02, 2013 @12:32PM (#4997833)
Nice, an upgrade from http://json.parser.online.fr/ for quick looks at json.
Re:Show HN: a small weekendish project - JSON Blob by hnriot on Wednesday January 02, 2013 @01:21PM (#4998200)
When I try to upload json it never seems to finish. Chrome/Linux

Other than that, I like it a lot. Very cool side project

Re:Show HN: a small weekendish project - JSON Blob by kodablah on Wednesday January 02, 2013 @12:29PM (#4997822)
Very clean. FYI, when saving I get a URL like undefined/api/jsonBlob/50e46e66e4b006ece99dff64.
Re:Show HN: a small weekendish project - JSON Blob by tburch on Wednesday January 02, 2013 @12:40PM (#4997892)
Re:Show HN: a small weekendish project - JSON Blob by officialjunk on Thursday January 03, 2013 @03:31AM (#5001456)
Cool. FYI, the items within the drop downs are not usable on my idevice
Re:Show HN: a small weekendish project - JSON Blob by cryowaffle on Wednesday January 02, 2013 @12:50PM (#4997966)
The link to jsoneditoronline.org on the About page is incorrect.
Re:Show HN: a small weekendish project - JSON Blob by tburch on Wednesday January 02, 2013 @12:57PM (#4998020)
Re:Show HN: a small weekendish project - JSON Blob by cryowaffle on Wednesday January 02, 2013 @08:07PM (#5000458)
cool, but you could have stayed in the g namespace just by adding http:// to the beginning.
Re:Show HN: a small weekendish project - JSON Blob by cdcarter on Wednesday January 02, 2013 @05:19PM (#4999669)
This would be great to tie into CouchDBs admin interface!
Re:Show HN: a small weekendish project - JSON Blob by evan_ on Wednesday January 02, 2013 @07:39PM (#5000361)
it would be nice if I could give it a jsonp URL and a callback function name