diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-08-22 11:11:03 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-08-22 11:11:03 +0100 |
| commit | f567fc4db536a2c513f2b9e357c511b3ecb39114 (patch) | |
| tree | eeb185ae4105303c49a71abc5a48c358e7b5a00f /rotord | |
| parent | 3ca766e0a5a9472000d463ce9edbb6c5abcc8565 (diff) | |
changed option name in json output
Diffstat (limited to 'rotord')
| -rwxr-xr-x | rotord/src/rotor.h | 2 |
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); } |
