Re: [Openstack] Crazy Idea for API Formats

2011-03-07 Thread Sandy Walsh
__ From: Michael Mayo [m...@openstack.org] Subject: Re: [Openstack] Crazy Idea for API Formats On Mar 4, 2011, at 10:55 PM, Sandy Walsh wrote: > Interesting ... do I get back an instance object or just a key/value dict? I'm thinking an actual instance object. And we would provide code

Re: [Openstack] Crazy Idea for API Formats

2011-03-05 Thread Michael Mayo
rious languages. > -S > > > From: Michael Mayo [m...@openstack.org] > Subject: [Openstack] Crazy Idea for API Formats > > All this talk about auth and making the API easy for developers to use got me > thinking. > > The two most popular formats for APIs are XML and JSON.

Re: [Openstack] Crazy Idea for API Formats

2011-03-04 Thread Sandy Walsh
From: Michael Mayo [m...@openstack.org] Subject: [Openstack] Crazy Idea for API Formats All this talk about auth and making the API easy for developers to use got me thinking. The two most popular formats for APIs are XML and JSON. XML is language neutral and sort of

Re: [Openstack] Crazy Idea for API Formats

2011-03-04 Thread Jorge Williams
Actually if you use XML and provide a schema you have zero parsing in Java, .Net and any other language that provides strong support for XML binding. It's actually a lot easier to use than serialization. We serve two kinds of clients: Those that love XML and those that love JSON. It's been my

[Openstack] Crazy Idea for API Formats

2011-03-04 Thread Michael Mayo
All this talk about auth and making the API easy for developers to use got me thinking. The two most popular formats for APIs are XML and JSON. XML is language neutral and sort of painful to read by a human. And writing an XML parser sucks. It's not hard, but it's time consuming and annoying.