From 9a6e7f7aaf80343a15678c3fbbc819176d045bcc Mon Sep 17 00:00:00 2001 From: winckler Date: Mon, 4 Apr 2016 11:45:28 +0200 Subject: [PATCH] enable object array parsing in JSON parser for devices, channels, and sockets. device, channel, and socket are parsed as before --- examples/MQ/1-sampler-sink/ex1-sampler-sink.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/MQ/1-sampler-sink/ex1-sampler-sink.json b/examples/MQ/1-sampler-sink/ex1-sampler-sink.json index 66e0903b..c395ca12 100644 --- a/examples/MQ/1-sampler-sink/ex1-sampler-sink.json +++ b/examples/MQ/1-sampler-sink/ex1-sampler-sink.json @@ -1,8 +1,8 @@ { "fairMQOptions": { - "device": - { + "devices": + [{ "id": "sampler1", "channel": { @@ -19,7 +19,6 @@ } }, - "device": { "id": "sink1", "channel": @@ -35,7 +34,7 @@ "rateLogging": "0" } } - } + }] } }