private function jsonDecode($json, $assoc = false)
{
if (version_compare(PHP_VERSION, '5.4.0', '>=') && !(defined('JSON_C_VERSION') && PHP_INT_SIZE > 4)) {
return json_decode($json, $assoc, 512, JSON_BIGINT_AS_STRING);
} else {
return json_decode($json, $assoc);
}
}