Make token size dynamically adjustable. Shorter tokens are absolutely
sufficient and simplify the manual copying of tokens
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
Json::Values do not necessarily need to be JSON objects. This Patch
checks if the JSON::Value is in deed an object.
Reported-by: Markus Dollinger <dolli@ignifax.de>
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
- Data type Token changed from uint64_t to std::string
- Added new class "Request" that describes a JSON TCP request
- Classes may now throw Responses for proper error handling
- Removed JSON parsing from Logic
- proper Error handling everywhere
- Many small fixes
- removed unnecessary includes
- removed using namespace std everywhere