Merge branch 'development' into LTS_development
This commit is contained in:
commit
ce124cb58d
1 changed files with 8 additions and 0 deletions
|
@ -756,6 +756,14 @@ std::string JSON::Value::toString() const {
|
||||||
return st.str();
|
return st.str();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case BOOL: {
|
||||||
|
if (intVal != 0){
|
||||||
|
return "true";
|
||||||
|
}else{
|
||||||
|
return "false";
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case STRING: {
|
case STRING: {
|
||||||
return string_escape(strVal);
|
return string_escape(strVal);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue