News for hackers. Stuff that matters.
Re:Why is JSON so popular? Developers want out of the syntax... by alavrik on Thursday June 23, 2011 @12:29AM (#2686662)
I couldn't agree more!

Out of frustration with existing schema languages and tool support for them, I've been working on Piqi[1] which is concise, expressive and agnostic to data representation formats. It works for JSON, XML and Protocol Buffers.

[1] http://piqi.org

Re:Why is JSON so popular? Developers want out of the syntax... by ismarc on Thursday June 23, 2011 @12:54AM (#2686718)
I've been using Piqi on a side-project of mine and I must say, I'm horribly impressed (using piqi_rpc with erlang for a web service and javascript based client to retrieve/interact with the data). The only way it could be nicer is if there was the same sort of generator for javascript so I didn't end up having to check/enforce the format at all.

Didn't realize you hung out on HN, so many thanks and great job.

Re:Why is JSON so popular? Developers want out of the syntax... by alavrik on Thursday June 23, 2011 @09:10AM (#2687683)
ismarc, thank you for the comment! I really appreciate it -- I didn't know anyone else was using Piqi-RPC (other than myself).

I'd like to know more about your use case and the need for JavaScript generation. I'm open to new ideas. Could you please contact me at [email protected] Thanks!

Re:Why is JSON so popular? Developers want out of the syntax... by andrewflnr on Thursday June 23, 2011 @01:04AM (#2686736)
That looks very cool. I'll look at it, and maybe steal a few ideas :). I've been working on a data language myself in my spare time, mostly concentrating on generative structures like conditionals and loops and a syntax-independent data model. But Piqi looks to be a lot more ambitious, not to mention mature.
Re:Why is JSON so popular? Developers want out of the syntax... by alavrik on Thursday June 23, 2011 @09:33AM (#2687760)
Thanks! Feel free to reuse as many ideas as you like :) It took me more than 2 years to get it there -- it is by far the toughest system I've ever designed.