No one has mentioned arrays:
[
{"one": 1},
{"two": 2}
]
Is valid JSON and might do what the OP wants.
More Related Contents:
- instance creating instances
- Function does not change passed pointer C++
- Undefined reference to static variable c++
- Can a c++ class include itself as an member?
- How to return an array from a function?
- How is Meyers’ implementation of a Singleton actually a Singleton
- How to remove certain characters from a string in C++?
- C/C++ check if one bit is set in, i.e. int variable
- How to catch segmentation fault in Linux?
- Why is ++i considered an l-value, but i++ is not?
- Is leaked memory freed up when the program exits?
- no match for ‘operator
- std::sort does not always call std::swap
- Difference between a virtual function and a pure virtual function [duplicate]
- What do C and Assembler actually compile to? [closed]
- Do child threads exit when the parent thread terminates
- Does resizing a vector invalidate iterators?
- why can’t we declare object of a class inside the same class?
- The precision of std::to_string(double)
- Override member field in derived classes
- Is there any use for local function declarations?
- Open QFile for appending
- Replace a line in text file
- What is the difference between #define and const? [duplicate]
- How do I make an image resize to scale in Qt?
- Sorting a vector of objects by a property of the object
- How to use sort() in C++ with custom sort member function?
- Are the character digits [‘0’..’9′] required to have contiguous numeric values?
- Is there a guarantee of stdout auto-flush before exit? How does it work?
- C++ — How to overload operator+=?