rapidjson json数组的值查询
116浏览 · 2023-08-30 15:05:17
[假设]([https]([https](https://geek.csdn.net/educolumn/bc935798c760e6f78dca0dbac8a3207b?spm=1055.2569.3001.10083)://geek.csdn.net/educolumn/bc935798c760e6f78dca0dbac8a3207b?spm=1055.2569.3001.10083)://geek.csdn.net/educolumn/b06e3cbf4c1636d01706578433891a70?spm=1055.2569.3001.10083)我们有以下JSON[对象]([http](https://geek.csdn.net/educolumn/68f28ca3131d47699e5902c5d3d74d51?spm=1055.2569.3001.10083)s://geek.csdn.net/educolumn/04c51611e4b730957464192e0307b82c?spm=1055.2569.3001.10083):
```json
"colors": [
"name": "red",
"hex": "#FF0000"
"name": "green",
"hex": "#00FF00"
"name": "blue",
"hex": "#0000FF"