What is deserialize and serialize in JSON?
I have seen the terms “deserialize” and “serialize” with JSON. What do they mean? 3 Answers 3
I have seen the terms “deserialize” and “serialize” with JSON. What do they mean? 3 Answers 3
I need a really, really fast method of checking if a string is JSON or not. I feel like this is not the best way: function isJson($string) { return ((is_string($string) && (is_object(json_decode($string)) || is_array(json_decode($string))))) ? true : false; } Any performance enthusiasts out there want to improve this method? 32 s 32