有了 JSON 这种格式,我们就可以更加容易的表示拥有复杂结构的数据了。

    1. [
    2. {
    3. "id": "59d632855434e",
    4. "title": "错过",
    5. "artist": "梁咏琪",
    6. "images": ["/uploads/img/1.jpg"],
    7. "source": "/uploads/mp3/1.mp3"
    8. },
    9. {
    10. "id": "59d632855434f",
    11. "title": "开始懂了",
    12. "artist": "孙燕姿",
    13. "images": ["/uploads/img/2.jpg"],
    14. "source": "/uploads/mp3/2.mp3"
    15. },
    16. {
    17. "id": "59d6328554350",
    18. "title": "一生中最爱",
    19. "artist": "谭咏麟",
    20. "images": ["/uploads/img/3.jpg"],
    21. "source": "/uploads/mp3/3.mp3"
    22. },
    23. {
    24. "id": "59d6328554351",
    25. "title": "爱在深秋",
    26. "artist": "谭咏麟",
    27. "images": ["/uploads/img/4.jpg"],
    28. "source": "/uploads/mp3/4.mp3"
    29. }
    30. ]
    31. [{"title":"zhangjie","artist":"zhangjie","images":["uploads\/bb.png"],"source":"uploads\/\u5f20\u6770 - \u6211\u7684\u672a\u6765\u4e0d\u662f\u68a6 (\u4f34\u594f).mp3"},{"title":"22","artist":"222","images":["uploads\/bb.png"],"source":"uploads\/\u5f20\u6770 - \u6211\u7684\u672a\u6765\u4e0d\u662f\u68a6 (\u4f34\u594f).mp3"}]