tree 8bac81e4350973ebfaf5842ad8f04579bc3c73c6 parent 1e919e9f2d15f01468eaab6e19613dae740f477f author Shevchik 1490017323 +0300 committer Shevchik 1490017323 +0300 ChatAPI::fromJson should never return null (because none of the internal components expect it). Also the return result of Gson::parseJson should be check for null, because it may return null if input string is empty (and maybe in some other cases).