kevinohara80 Posted September 7, 2011 Posted September 7, 2011 I am working very little with XML these days. Would it be hard to implement a JSON option for the REST API responses? Seems the industry as a whole is moving that direction. Thanks!
Michel Kohanim Posted September 8, 2011 Posted September 8, 2011 Hello kevinohara80, JSON is very good for client (such as browsers) which can parse javascript. From a machine to machine perspective (such as Check-it portal), XML/Web Services are the only way to do things as they can be "described" in a schema. We might one day have output option available but currently we have no such plans. With kind regards, Michel
windley Posted February 22, 2013 Posted February 22, 2013 With all due respect...baloney. For most of the programmers using an ISY 99i, JSON is the most convenient and logical choice. XML is dead for this sort of thing. If you're interested in expanding the play of the ISY99i and it's appeal to developers giving the option of having the response formatted as JSON will be a huge win for you.
Michel Kohanim Posted February 23, 2013 Posted February 23, 2013 windley, What sort of thing are you referring to? Do you currently have an ISY or is this a general reaction to anything XML? With kind regards, Michel
windley Posted November 26, 2013 Posted November 26, 2013 I have an ISY994i and use it every day. JSON is what developers are going to expect, not XML>
JasonFry Posted January 23, 2014 Posted January 23, 2014 For what it's worth: JSON is the right format for the job here, XML is too cumbersome to work with and as it's been said is pretty much dead and a turn off for developers. All major platforms, Javascript or not including iOS and Android, support JSON natively these days, and if you're not going to provide JSON output by default at least make it optional. It's a business decision, not fanboyism or personal opinion, even crusty popular set top boxes provide a RESTful json api, it's just more appealing, efficient and easier to work with. Good work and hope to see JSON support soon.
Michel Kohanim Posted January 24, 2014 Posted January 24, 2014 JasonFry, Without trying to get into a debate on what's better, Universal Devices has been in the task force for many standards bodies (NIST, CableLabs, OpenADR just to name a few). I assure you that XML is not dead. Now, should we support JSON, yes, but not because XML is dead. With kind regards, Michel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.