The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Proposal / RFC: Change xAP wire format


  • Subject: Proposal / RFC: Change xAP wire format
  • From: "patricklidstone" <patrick@xxxxxxxxxxxx>
  • Date: Wed, 06 Jul 2011 08:45:47 -0000

I would like to propose a fundamental change to xAP - adopting JSON
notation for the wireformat. JSON (RFC4627 / http://en.wikipedia.org/wiki/JSON
/ json.org for further details) is now an established standard, with wide
cross-platform and cross-language support.

A wide array of parsers are available off-the-shelf. It is very similar to
the existing wireformat, which pre-dates JSON, and the JSON manifesto
incorporates many of the design aims of the original format (such as XML
being too complex/too fat for optimal use on embedded devices).

Whilst retrofitting support to existing apps would be slightly painful, the
fact that most libraries and frameworks abstract the parsing, and that
there are inherent similarities, wouldn't make the switch too bad from a
developer perspective, and that burden is outweighed by the adoption of a
standard IMO.

Thoughts?

Patrick



------------------------------------


xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.