aboutsummaryrefslogtreecommitdiff
path: root/common/json.cpp
AgeCommit message (Collapse)Author
2019-09-21COMMON: Fix escaping and parsing of UTF-8 strings in JASON parserThierry Crozat
2018-05-10COMMON: Use nullptr instead of NULL or 0 where appropriateBastien Bouclet
2017-01-12COMMON: Replace sprintf() with safer String::format() in JSON module.D G Turner
2016-10-30COMMON: Fix GCC Warning in JSON Parser.D G Turner
The emitted warning is "ISO C++98 does not support the ‘%lg’ gnu_printf format [-Wformat=]". Though "%lg" is required for *scanf functions to indicate the field size, it is not required for *printf functions which use "%g" instead.
2016-09-03JANITORIAL: Make GPL headers uniformEugene Sandulenko
2016-08-30COMMON: Replace broken URLWillem Jan Palenstijn
2016-08-30COMMON: Fix sign warningWillem Jan Palenstijn
2016-08-24JANITORIAL: Remove spaces at the end of the lineAlexander Tkachev
I knew there were some, but I wanted to fix them once, instead of doing it all the time.
2016-08-24CLOUD: Fix some warningsAlexander Tkachev
Mostly on format string
2016-08-24CLOUD: Add GoogleDriveStorageAlexander Tkachev
It has its own GoogleDriveTokenRefresher and knows how to do info(). This commit also contains JSON int -> long long int fix and CurlJsonRequest '\n' -> ' ' fix.
2016-08-24COMMON: Fix JSON to understand integers correctlyAlexander Tkachev
2016-08-24CLOUD: Fix format string warningsAlexander Tkachev
I get 'warning: ISO C++98 does not support the '%lg' ms_printf format' warning though.
2016-08-24CLOUD: Remove wcsncasecmp() usage from SimpleJSONAlexander Tkachev
Replaced with scumm_strnicmp().
2016-08-24CLOUD: Refactor SimpleJSONAlexander Tkachev
2016-08-24CLOUD: SimpleJSON refactorAlexander Tkachev
Resharper + manual methods & fields renaming.
2016-08-24CLOUD: Add SimpleJSON library as Common::JSONAlexander Tkachev
This commit also adds CloudThread class, which work() method is called every second by TimerManager. Right now it prints JSON examples on the console, so that's why it's introduced with SimpleJSON library.