0
我有一个字符串,该图形模式删除
a:22:{s:10:"identifier";s:17:"12345678912345678";s:10:"URL";s:0:"";s:10:"profile";s:62:"https://www.xyz.com//";}
我想删除该字符串计数,比如s:10或S:从这个串17,所以我可以在JSON
我有一个字符串,该图形模式删除
a:22:{s:10:"identifier";s:17:"12345678912345678";s:10:"URL";s:0:"";s:10:"profile";s:62:"https://www.xyz.com//";}
我想删除该字符串计数,比如s:10或S:从这个串17,所以我可以在JSON
这不是JSON,因此不应该解码为JSON。这是一个使用PHP serialize()
函数的序列化字符串。要“解码”此字符串,请使用PHP的unserialize()
函数。
json_encode(unserialize($ value)) – GhostGambler