summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-08-22 11:11:03 +0100
committerTim Redfern <tim@eclectronics.org>2013-08-22 11:11:03 +0100
commitf567fc4db536a2c513f2b9e357c511b3ecb39114 (patch)
treeeeb185ae4105303c49a71abc5a48c358e7b5a00f
parent3ca766e0a5a9472000d463ce9edbb6c5abcc8565 (diff)
changed option name in json output
-rwxr-xr-xrotord/src/rotor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h
index cd4edb0..9db32b3 100755
--- a/rotord/src/rotor.h
+++ b/rotord/src/rotor.h
@@ -1013,7 +1013,7 @@ namespace Rotor {
attribute["value"]=attr.second->value;
if (attr.second->vals.size()){ //document attribute enumeration
attribute["type"]="enum";
- attribute["attribute"]=Json::arrayValue;
+ attribute["options"]=Json::arrayValue;
for (auto val: attr.second->vals){
attribute["attribute"].append(val);
}