我有这样的数据
[{"search":true,"hidden":true,"index":"xyz"},{"search":true,"hidden":true,"index":"pqr","address":{"city":"xxxx"}}]
我希望拆分数据得到:
{"search":true,"hidden":true,"index":"xyz"}
{"search":true,"hidden":true,"index":"pqr","address":{"city":"xxxx"}}
我的正则表达式很弱,请帮忙。