Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #31975

Re: Simply displaying JSON data for users: what is your preferred method?

From Doc O'Leary <droleary@2015usenet1.subsume.com>
Newsgroups comp.lang.javascript
Subject Re: Simply displaying JSON data for users: what is your preferred method?
Date 2016-12-26 16:27 +0000
Organization Subsume Technologies, Inc.
Message-ID <o3rgdv$hrb$1@dont-email.me> (permalink)
References <o3m6up$3e3$1@dont-email.me> <1rz8pc765tt5d$.1mqm96f9bs5jy$.dlg@40tude.net>

Show all headers | View raw


For your reference, records indicate that 
JJ <jj4public@vfemail.net> wrote:

> GitHub.com would be the perfect place to search for such library.

Like I said, I’ve already searched and have some options, but I’m 
wondering what other people might recommend.  Just because someone 
threw up a personal project they started 3 years ago on GitHub does 
*not* make it worthy of anyone’s attention.  The lack of curation 
has become a real problem with the open source community.

> Just guessing, but I think a regular expression based converter would be
> more efficient and faster than object based. i.e. JSON string to HTML string
> then slap it all together using innerHTML, instead of JSON objects to HTML
> element objects.

I don’t care about fast at this point.  I care about smallish and 
simple.  If someone can barely get a handle on HTML and JSON, I’m not 
about to ask them to start doing convoluted regex parsing.

What I’m essentially looking for is something like the CSS Zen Garden.  
Just like CSS associates styles with the underlying HTML, I want to 
associate *that* HTML with some underlying JSON in a sufficiently 
generic way that people can, if they don’t like the default, easily 
tweak the output so that it makes the most sense to them.

-- 
"Also . . . I can kill you with my brain."
River Tam, Trash, Firefly

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Simply displaying JSON data for users: what is your preferred method? Doc O'Leary  <droleary@2015usenet1.subsume.com> - 2016-12-24 16:15 +0000
  Re: Simply displaying JSON data for users: what is your preferred method? JJ <jj4public@vfemail.net> - 2016-12-25 18:01 +0700
    Re: Simply displaying JSON data for users: what is your preferred method? $Bill <news@todbe.com> - 2016-12-25 15:40 -0800
      Re: Simply displaying JSON data for users: what is your preferred method? David Mark <dmark.cinsoft@gmail.com> - 2016-12-25 16:21 -0800
        Re: Simply displaying JSON data for users: what is your preferred method? $Bill <news@todbe.com> - 2016-12-25 19:36 -0800
          Re: Simply displaying JSON data for users: what is your preferred method? David Mark <dmark.cinsoft@gmail.com> - 2016-12-26 04:50 -0800
            Re: Simply displaying JSON data for users: what is your preferred method? $Bill <news@todbe.com> - 2016-12-26 15:08 -0800
              Re: Simply displaying JSON data for users: what is your preferred method? David Mark <dmark.cinsoft@gmail.com> - 2016-12-28 19:26 -0800
    Re: Simply displaying JSON data for users: what is your preferred method? JJ <jj4public@vfemail.net> - 2016-12-26 23:19 +0700
      Re: Simply displaying JSON data for users: what is your preferred method? JJ <jj4public@vfemail.net> - 2016-12-26 23:30 +0700
    Re: Simply displaying JSON data for users: what is your preferred method? Doc O'Leary  <droleary@2015usenet1.subsume.com> - 2016-12-26 16:27 +0000
  Re: Simply displaying JSON data for users: what is your preferred method? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-12-26 12:36 -0800

csiph-web