Some small optimizations, added reference functions to JSON lib, fixed config commandline options.
This commit is contained in:
parent
0c059f0ca3
commit
ea71dd2d5c
7 changed files with 38 additions and 10 deletions
|
@ -64,6 +64,8 @@ namespace JSON {
|
|||
const std::string asString();
|
||||
const long long int asInt();
|
||||
const bool asBool();
|
||||
const std::string & asStringRef();
|
||||
const char * c_str();
|
||||
//array operator for maps and arrays
|
||||
Value & operator[](const std::string i);
|
||||
Value & operator[](const char * i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue