Thenbsp\Wechat\Bridge\Serializer::isJSON PHP 메소드

isJSON() 공개 정적인 메소드

check is json string
public static isJSON ( $data )
    public static function isJSON($data)
    {
        return @json_decode($data) !== null;
    }