JS += JSON support

Issue #68 new
Alexander Petrossian (PAF) created an issue

I dream of JSON blocks be highlighted as part of js syntax.

I'd like JSON keys be highlighted separately from usual strings.

Must more visually pleasant and easier to read.

Comments (3)

  1. Mark Symons

    This would be useful. I am starting to see more and more JSON blocks as data in RESTful implementations.

  2. Aaron Scott-Boddendijk

    I wonder if it would be nicer to explicitly support a 'json' format for which 'wrap' (or another flag) does indented layout of the JSON so that pasted payloads to/from REST call are made human readable in issues. I wouldn't expect 'wrap' to mean the same thing in formatting the full grammar of JavaScript (though syntax highlighting of JSON within 'js' should still happen).

  3. Alexander Petrossian (PAF) reporter

    Aaron, I feel that is very useful, and applies not only to JSON but to XML, and, probably, some others. But I feel that's a separate issue.

    Alas, Creator does not express his position. Maybe superbusy?

  4. Log in to comment