我在vuejs应用程序中从laravel获取了序列化数据,现在我无法使用JSON.parse()之类的常用方法对数据进行反序列化,我该怎么办呢? 我知道这个问题很简单,但我真的很困惑
我的序列化数据样本:
a:1:{s:32:"9d02074b55380f2b5a98b4e99f59bbfe";a:7:{s:2:"id";s:3:"117";s:4:"name";s:19:"Deine Pizza, medium";s:5:"price";d:7.5;s:3:"qty";d:1;s:7:"options";a:8:{s:3:"_al";s:8:"x20RJkN6";s:3:"_pi";s:3:"117";s:3:"_hp";s:1:"1";s:3:"_fl";s:0:"";s:3:"_ca";s:2:"13";s:22:"Classic-Teig {11}[E4S]";s:1:"0";s:44:"Pizza mit würzigem Käse im Rand {191}[TQo]";s:4:"2.35";s:25:"Bauernschinken {195}[e0H]";s:4:"2.35";}s:5:"rowid";s:32:"9d02074b55380f2b5a98b4e99f59bbfe";s:8:"subtotal";d:7.5;}}