4 ms·
Looks really cool, thanks for this! If there is one thing holding me back, it's that JSON is a bit of a pain to write manually. Do you have any plans to support
by atomwaffel 10y ago
Looks really cool, thanks for this! If there is one thing holding me back, it's that JSON is a bit of a pain to write manually. Do you have any plans to support a more human-friendly format like YAML[1] or Hjson[2]? I guess I can always manually convert those to JSON, but it'd be neat to not have to.
[1] http://www.yaml.org http://www.yaml.org
[2] http://hjson.org http://hjson.org
- gliechtenstein 10y agoI'm a huge fan of hjson. I agree it's pain in the ass to write JSON, especially the need to double quote everything. My goal was to release this asap and get actual feedback and work on things people want first. To answer your question more specifically, as long as you can turn a data into JSON format you can run it on Jason. That's what I do in this tutorial where you can turn any spreadsheet data into JSON and then run it on Jason. http://www.jasonclient.org/spreadsheet/ http://www.jasonclient.org/spreadsheet/ Also there's an HTML parser which turns HTML into JSON format and then renders it in Jason (http://www.jasonclient.org/gallery/show/index.html?id=http://www.jasonclient.org/things/127.json http://www.jasonclient.org/gallery/show/index.html?id=http:/...) So I'm sure I can add on HJSON and YAML support. BTW please join the slack channel if you're interested, http://textethan.us8.list-manage.com/subscribe?u=54e23b3fe61843c19c384fc05&id=c6e08abd5c http://textethan.us8.list-manage.com/subscribe?u=54e23b3fe61... I'm happy to chat :)
- atomwaffel 10y agoThat's brilliant, thanks for the reply! Good call on getting something out the door quickly and waiting for feedback. Not sure you need to support both YAML and Hjson, just one human-friendly format would be enough, especially as the conversion is easy enough to automate.