Skip to contentSkip to conversation

qapi: use valid JSON in schema

PATCH Applied Eric Blake 2 participants 2 messages Apr 10, 2013 – Apr 11, 2013

lore
Share & tools
lore

Eric Blake

author
#0 lore raw

PATCH 1/1 qapi: use valid JSON in schema

* qapi-schema.json: JSON doesn't allow trailing commas.

---

a multi-line regex search for ',[ \n]*[]}]' didn't turn up any other violations

 qapi-schema.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qapi-schema.json +1 -1
index db542f6..044517d 100644
@@ -1600,7 +1600,7 @@
 ##
 { 'union': 'BlockdevAction',
   'data': {
-       'blockdev-snapshot-sync': 'BlockdevSnapshot',
+       'blockdev-snapshot-sync': 'BlockdevSnapshot'
    } }
 
 ##
Signature · 1 line
1.8.1.4
#1 lore raw
Quoted 3 lines · On Wed, 10 Apr 2013 13:12:44 -0600 Eric Blake <[email protected]> wrote:

* qapi-schema.json: JSON doesn't allow trailing commas.

Applied to the qmp branch, thanks.

Quoted 21 lines

---

a multi-line regex search for ',[ \n]*[]}]' didn't turn up any other violations

 qapi-schema.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qapi-schema.json +1 -1
index db542f6..044517d 100644
@@ -1600,7 +1600,7 @@
 ##
 { 'union': 'BlockdevAction',
   'data': {
-       'blockdev-snapshot-sync': 'BlockdevSnapshot',
+       'blockdev-snapshot-sync': 'BlockdevSnapshot'
    } }
 
 ##