/** * public "static" method, * converts a JSON string into compatible value. * * JSON::decode($input:String[, $assoc:Bool]):Mixed * * @param String JSON compatible string * @param Bool true to convert object into associative arrays * false by default * @return Mixed Array, Standard Class, String, Float, integer, Boolean or null value. */ function decode($input, $assoc = 0) { return JSON::__rawjsondecode($input, $assoc); }