mirror of
https://github.com/HackHerz/pusher
synced 2025-12-06 02:10:19 +00:00
New version of the json library
This commit is contained in:
parent
34bd85a206
commit
bf4d174431
3 changed files with 8324 additions and 1985 deletions
10299
src/json/json.hpp
10299
src/json/json.hpp
File diff suppressed because it is too large
Load diff
|
|
@ -159,7 +159,7 @@ vector<PushHandler::Device> PushHandler::getDevices()
|
||||||
Device buf;
|
Device buf;
|
||||||
|
|
||||||
buf.title = element["title"].get<string>();
|
buf.title = element["title"].get<string>();
|
||||||
buf.id = element["id"].get<string>();
|
buf.id = to_string(element["id"].get<int>());
|
||||||
buf.model = element["model"].get<string>();
|
buf.model = element["model"].get<string>();
|
||||||
|
|
||||||
buffer.push_back(buf);
|
buffer.push_back(buf);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue