14         public static function encode($mixed, $suppress_native = 
false)
 
   16                 if (!$suppress_native && self::checkNativeSupport())
 
   18                         return json_encode($mixed);
 
   22                         include_once 
'./Services/JSON/include/json.php';
 
   24                         return $json->encode($mixed);
 
   28         public static function decode($json_notated_string, $suppress_native = 
false)
 
   30                 if (!$suppress_native && self::checkNativeSupport())
 
   32                         return json_decode($json_notated_string);
 
   36                         include_once 
'./Services/JSON/include/json.php';
 
   38                         return $json->decode($json_notated_string);
 
   44                 return function_exists(
'json_encode') && function_exists(
'json_decode');