后台返回数据时两个json合到一起了
格式如:
var str = '{"employees":[{"firstName":"Bill","lastName":"Gates"},{"firstName":"George","lastName":"Bush"},{"firstName":"Thomas","lastName":"Carter"}]}{"employees":[{"firstName":"Thomas","lastName":"Carter"}]}'
怎么拆分它呢?
拉风的咖菲猫
30秒到达战场
相关分类