json用C++怎么解析字符串,数组,整形等数据啊😢,解析语句是什么呀?

json初学者的任务,希望各位给出例子代码

#include "json.hpp"
#include <iostream>
using namespace std;
using namespace nlohmann;
using Json = nlohmann::json;
int main() {
    json j1 =[{
        id:
        1
        name:
        zhangsan
    }
    {
        id:
        3
        name:
        lisi
    }];
    json j2 = {"name":"dong"};
    json j3 = {3};
    return 0;
}




 从网上搜的没有看懂

希望大家可以帮助一下啊