Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

IMO, using JSON to specify a GUI would be a terrible idea. Its purpose is to serialize data for transport between disparate systems. JSON is verbose and writing anything decently complicated with it sounds like torture.

What you want for something like a GUI specification is a DSL designed for the task (e.g. QML), or a suitable general purpose language like HCL or YAML.



> JSON is verbose and writing anything decently complicated with it sounds like torture.

Except in comparison with XML :-)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: