devicemap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reza Naghibi <re...@apache.org>
Subject FYI... 2.0 attribute spec changing
Date Wed, 05 Aug 2015 16:25:29 GMT
Small chance... but just incase someone is working or looking at the
attribute spec, its going to change. Im currently putting together the
javascript client [1] and given that JSON is a first class citizen of
javascript, I want to make sure the JSON spec is perfect. Right now
attributes are this:

"attributes": [ { Attribute }, { Attribute }, ... ]

This will change to this:

"attributes":
  {
    "patternId_1": { Attribute },
    "patternId_2": { Attribute },
    ...
  }

This will much optimize the structure for javascript and likely other
clients.

[1] https://svn.apache.org/repos/asf/devicemap/trunk/clients/2.0/javascript/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message