mikekelly / hal-browser

An API browser for the hal+json media type
MIT License
835 stars 157 forks source link

Sort attribute keys in the formatted JSON #12

Closed timbunce closed 10 years ago

timbunce commented 11 years ago

Finding one attribute among many is difficult when their not sorted. Sorting also helps being attributes with the same prefix close together so the values are easy to compare.

mikekelly commented 11 years ago

these are awesome, thanks. please keep them coming!

On Thu, Feb 21, 2013 at 12:12 PM, Tim Bunce notifications@github.comwrote:

Finding one attribute among many is difficult when their not sorted. Sorting also helps being attributes with the same prefix close together so the values are easy to compare.

— Reply to this email directly or view it on GitHubhttps://github.com/mikekelly/hal-browser/issues/12.

Mike

http://twitter.com/mikekelly85 http://github.com/mikekelly http://linkedin.com/in/mikekelly123

timbunce commented 11 years ago

More generally, I'm sure there are plugins/libraries for formatting and presenting JSON that'll enable sorted attributes along with much more functionality. Interactive drill-down into nested structures would be nice. Syntax highlighting would be another plus.

I looked around a bit and found pretty-json, jsonview, jquery-jsonview. There are more links here.

mikekelly commented 10 years ago

dupe of #7