Serialization across languages?

Simon Brunning simon at brunningonline.net
Fri Jun 15 04:52:16 EDT 2007


On 6/14/07, Tobiah <toby at tobiah.org> wrote:
> I want to do SOAP like calls from a device who's libraries
> don't include SOAP.  I'm thinking of using simple HTTP posts,
> but I'm going to want to send arrays and hashes.
>
> First, what do I need to be aware of when sending arbitrary
> data by a POST, and Second, is there a universally supported
> version of what python can do with pickle?  I mostly need
> python and PHP, but perl would be nice too.

JSON might be worth a look. There are libraries available for loads of
languages, and it's fairly human readable to boot.

-- 
Cheers,
Simon B.
simon at brunningonline.net
http://www.brunningonline.net/simon/blog/
GTalk: simon.brunning | MSN: small_values | Yahoo: smallvalues



More information about the Python-list mailing list