diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-28 14:48:01 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-28 14:48:01 +0200 |
commit | 77ea8b7e2db38877bc9e48336778b3d6906791b5 (patch) | |
tree | b302a0a4f0385fefe1988c3dbea0f171a4403b06 /examples/links.json | |
parent | 538531d644f43d99d3da6bb9103b5bfcd8ef4cd6 (diff) | |
download | edoors-ruby-77ea8b7e2db38877bc9e48336778b3d6906791b5.zip edoors-ruby-77ea8b7e2db38877bc9e48336778b3d6906791b5.tar.gz |
examles links: is JSON ready now
Diffstat (limited to 'examples/links.json')
-rw-r--r-- | examples/links.json | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/examples/links.json b/examples/links.json new file mode 100644 index 0000000..19959d6 --- /dev/null +++ b/examples/links.json @@ -0,0 +1,96 @@ +{ + "kls": "Edoors::Spin", + "timestamp": "2012-06-28 14:43:36 +0200", + "name": "dom0", + "hibernation": false, + "inner_room": { + "iotas": { + "input": { + "kls": "FileReader", + "name": "input", + "filepath": "./examples/data.json" + }, + "age_filter": { + "kls": "Filter", + "name": "age_filter" + }, + "output_f": { + "kls": "OutputDoor", + "name": "output_f", + "title": "woman" + }, + "output_m": { + "kls": "OutputDoor", + "name": "output_m", + "title": "man" + }, + "output_child": { + "kls": "OutputDoor", + "name": "output_child", + "title": "child" + }, + "output_parent": { + "kls": "OutputDoor", + "name": "output_parent", + "title": "parent" + } + }, + "links": { + "input": [ + { + "kls": "Edoors::Link", + "src": "input", + "dsts": "age_filter", + "keys": null, + "value": null + } + ], + "age_filter": [ + { + "kls": "Edoors::Link", + "src": "age_filter", + "dsts": "output_f", + "keys": null, + "value": { + "sex": "f" + } + }, + { + "kls": "Edoors::Link", + "src": "age_filter", + "dsts": "output_m", + "keys": null, + "value": { + "sex": "m" + } + }, + { + "kls": "Edoors::Link", + "src": "age_filter", + "dsts": "output_child", + "keys": null, + "value": { + "old": false + } + }, + { + "kls": "Edoors::Link", + "src": "age_filter", + "dsts": "output_parent", + "keys": null, + "value": { + "old": true + } + } + ] + } + }, + "sys_fifo": [ + + ], + "app_fifo": [ + + ], + "debug_garbage": false, + "debug_routing": false +} |