CLOUD: Update BoxListDirectoryByIdRequest
It now uses special CurlJsonRequest static methods to check whether JSON is an object, has a string or integer parameter.
This commit is contained in:
parent
43c940c985
commit
cccfe7c247
3 changed files with 51 additions and 55 deletions
|
@ -52,6 +52,10 @@ public:
|
|||
|
||||
virtual void handle();
|
||||
virtual void restart();
|
||||
|
||||
static bool jsonIsObject(Common::JSONValue *item, const char *warningPrefix);
|
||||
static bool jsonContainsString(Common::JSONObject &item, const char *key, const char *warningPrefix);
|
||||
static bool jsonContainsIntegerNumber(Common::JSONObject &item, const char *key, const char *warningPrefix);
|
||||
};
|
||||
|
||||
} // End of namespace Networking
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue