jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "Jsop" by MichaelDürig
Date Wed, 02 Nov 2011 11:43:48 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "Jsop" page has been changed by MichaelDürig:
http://wiki.apache.org/jackrabbit/Jsop?action=diff&rev1=1&rev2=2

  == Overview ==
  
  Jsop is the proposed Json-Diff format. It extends the Json format to provide diff/patch
features.
+ 
+ === Compact Syntax ===
+ {{{
+ // JSOP
+ DIFFS    ::= (ADD | SET | REMOVE | MOVE)*
+ ADD      ::= "+" STRING ":" (OBJECT | ATOM)
+ SET      ::= "^" STRING ":" ATOM
+ REMOVE   ::= "-" STRING
+ MOVE     ::= ">" STRING ":" (STRING | "{" STRING ":" STRING "}")
+ 
+ // JSON
+ OBJECT   ::= "{" (PAIR ("," PAIR)*)? "}"
+ PAIR     ::= STRING ":" VALUE
+ VALUE    ::= COMPOUND | ATOM
+ COMPOUND ::= OBJECT | ARRAY
+ ATOM     ::= STRING | NUMBER | "true" | "false" | "null"
+ ARRAY    ::= [ (VALUE (, VALUE)*)? ]
+ 
+ STRING   ::= /* See http://www.json.org/ */
+ NUMBER   ::= /* See http://www.json.org/ */
+ }}}
  
  == Syntax ==
  

Mime
View raw message