PHP-PHP5.3及以上版本中检查json格式的方法
摘要:        
function is_json($string) { json_decode($string); return (json_last_error() == JSON_ERROR_NONE);}json_last_error()是PHP5.3版本才有的另外提供几种检查json格式的方法第...    阅读全文
        posted @ 2014-11-17 16:23 John_ABC 阅读(431) 评论(0) 推荐(0)
                    
                
浙公网安备 33010602011771号