Jump to content

JSON response from REST API


kevinohara80

Recommended Posts

Posted

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!

Posted

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

  • 1 year later...
Posted

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.

  • 9 months later...
  • 1 month later...
Posted

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.

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...