我有以下字符串:
{"list": {"array":[{"current_rate":20.0,"id":1, "name": "abc"},
{"current_rate":20.0,"id":2, "name": "xyz"}]}}
我想将上面的字符串转换为数组
[current_rate: 20.0, id: 1, name: abc]
我用了componentSeperatedByString:@":".
但是当名称字段包含“:”字符串时会出现问题。
有没有办法将上面的字符串转换为数组。