Buckets:
| using json = nlohmann::json; | |
| int main() | |
| { | |
| // create JSON arrays | |
| json j_no_init_list = json::array(); | |
| json j_empty_init_list = json::array({}); | |
| json j_nonempty_init_list = json::array({1, 2, 3, 4}); | |
| json j_list_of_pairs = json::array({ {"one", 1}, {"two", 2} }); | |
| // serialize the JSON arrays | |
| std::cout << j_no_init_list << '\n'; | |
| std::cout << j_empty_init_list << '\n'; | |
| std::cout << j_nonempty_init_list << '\n'; | |
| std::cout << j_list_of_pairs << '\n'; | |
| } | |
Xet Storage Details
- Size:
- 543 Bytes
- Xet hash:
- 94a420470822fc0bc9a11f2cadbf37aece4dc9c6d96a0f74bb6caa3a5c3a1446
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.