|
|
|
@ -463,9 +463,6 @@ string JSONElement::GetString () {
|
|
|
|
|
if (value.length()==0) {
|
|
|
|
|
output += "\"" + name + "\" : \"\"";
|
|
|
|
|
}
|
|
|
|
|
// FIXME: we have to define all strings are saved here without ""
|
|
|
|
|
// will be set up in the future
|
|
|
|
|
// WORKAROUND for empty strings
|
|
|
|
|
else if (value[0] != '"') {
|
|
|
|
|
output += "\"" + name + "\" : \"" + value + "\"";
|
|
|
|
|
}
|
|
|
|
@ -478,7 +475,6 @@ string JSONElement::GetString () {
|
|
|
|
|
if (value.length()==0) {
|
|
|
|
|
output += "\"" + name + "\" : []";
|
|
|
|
|
}
|
|
|
|
|
// WORKAROUND for arrays without []
|
|
|
|
|
else if (value[0] != '[') {
|
|
|
|
|
output += "\"" + name + "\" : [" + value + "]";
|
|
|
|
|
}
|
|
|
|
|