jsonurl/jsonurl.github.io

On https://www.jsonurl.org/, enhance playground section to also compare the results using different competing libraries

darcyparker opened this issue · 1 comments

In jsonurl/jsonurl-js#97 (comment), I mentioned I found json-url performed better than other libraries for my data.

It might be helpful to have a section of your site that includes an input box for some JSON. And below show a comparison of the encoded results for some different libraries. (like your playground: https://www.jsonurl.org/#sandbox, but include the stats about character length for each competing library, with the winner highlighted and/or annotated)

json-url won't always be the winner for arbitrary JSON... But in many cases I think it would be. And people would be able to see the value in how readable your encoding is.

Thats an excellent suggestion.