[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [xdi] EUREKA!!! (Or, in current lingo, OMG!!!) New XDI JSON serialization format
I am in favor of this format… Nice work Drummond. - Mike From: drummond.reed@gmail.com [mailto:drummond.reed@gmail.com] On Behalf Of Drummond Reed Although I am in a car traveling east of the Cascade Mountains in Washington, my wife is driving so I could compose this message before the weekend because I am so excited to share this breakthrough with the TC.
The advantages of this format:
In retrospect, there are two secrets behind this dramatically simpler serialization format, neither of which was apparent at Whistler last August:
Below are examples of both the collection of XDI statements and this new JSON serialization of the "Primary and Secondary Addressing" and "Simple Property" example graphs in the XDI Graph Patterns document. (Note that they don't yet reflect a few of the changes discussed on yesterday's and today's calls.) Primary and Secondary AddressesXDI Statements()/$$/(=!0999.a7b2.25fd.c609) ()/$$/(http://example.com/ox/=!0999.a7b2.25fd.c609) ()/()/(=!0999.a7b2.25fd.c609) ()/()/(http://example.com/ox/=!0999.a7b2.25fd.c609) ()/()/=abc ()/()/=!0999.a7b2.25fd.c609 =abc/$/=!0999.a7b2.25fd.c609 =!0999.a7b2.25fd.c609/$$/=abc =!0999.a7b2.25fd.c609/()/+pea-patch =!0999.a7b2.25fd.c609/()/+garden =!0999.a7b2.25fd.c609/()/!1 =!0999.a7b2.25fd.c609+pea-patch/$/=!0999.a7b2.25fd.c609!1 =!0999.a7b2.25fd.c609+garden/$/=!0999.a7b2.25fd.c609!1 Proposed New JSON Serialization{ "()/$$": [ "(=!0999.a7b2.25fd.c609)", " (http://example.com/ox/=!0999.a7b2.25fd.c609)" ], "()/()": [ "(=!0999.a7b2.25fd.c609)", "(http://example.com/ox/=!0999.a7b2.25fd.c609)", "=abc", "=!0999.a7b2.25fd.c609" ], "=abc/$": [ "=!0999.a7b2.25fd.c609" ], "=!0999.a7b2.25fd.c609/$$": [ "=abc" ], "=!0999.a7b2.25fd.c609/()": [ "+pea-patch", "+garden" ], "=!0999.a7b2.25fd.c609/()": [ "!1" ], "=!0999.a7b2.25fd.c609+pea-patch/$": [ "=!0999.a7b2.25fd.c609!1" ], "=!0999.a7b2.25fd.c609+garden/$": [ "=!0999.a7b2.25fd.c609!1" ], } Simple PropertiesXDI Statements()/()/=abc =abc/+age!/(data:33) =abc/()/+age =abc+age/$d!/(data:2010-10-10T11:12:13Z) =abc+age/()/$v =abc+age$v/!1!/(data:32) =abc+age$v/!2!/(=abc/+age!) =abc+age$v/()/!1 =abc+age$v/()/!2 =abc+age$v!1/$d!/(data:2010-09-09T10:11:12Z) =abc+age$v!2/$d!/(data:2010-10-10T11:12:13Z) Proposed New JSON Serialization "()/()": [ "=abc" ], "=abc/+age!": [ 33 ], "=abc/()": [ "+age" ], "=abc+age/$d!": [ "2010-10-10T11:12:13Z" ], "=abc+age/()": [ "$v" ], "=abc+age$v/!1!": [ 32 ], "=abc+age$v/!2!": [ "(=abc/+age!)" ], "=abc+age$v/()": [ "!1", "!2" ], "=abc+age$v!1/$d!": [ "2010-09-09T10:11:12Z" ], "=abc+age$v!2/$d!": [ "2010-10-10T11:12:13Z" ] } |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]