Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

JSONView's formatter as a standalone JS lib #2

Open
bhollis opened this Issue · 6 comments

5 participants

@bhollis
Owner

'd like to have JS library, that I can use in my web application, for user friendly viewing of any JSON data. I think jsonview does a great job, but it's limited to firefox.

@tttp

Hi,

The issue doesn't seem to be accessible on code.google anymore.

Has it been any work done on that topic? It seems to be a few custom stuff that are FF extension specific but the bulk of the code could be ported and work as js library

@bhollis
Owner

Nothing's been done, but a pull request would be welcome.

@afeld

This would be great. I looked into doing this, but so much of the code was Firefox-specifc and assuming no existing DOM, I actually ended up writing my own for api.afeld.me (code here, which I intend to extract).

The interface for mine is different, but I think that might largely be in the CSS, so it could be changed with a class on the container el, or even "themable" (see application.scss vs. jsonpanes.scss).

Anyway, would love to collaborate on this!

@pnsantos

I currently use this online formatter which is basically a javascript/html formatter (the code is available at codeplex).
It's features is everything you could ask for (you can configure tab space, whether or not the output should be collapsable, show quotes on keys or not, etc.) very cool.

@afeld afeld referenced this issue in afeld/api.afeld.me
Closed

move JSON viewer to standalone plugin #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.