How can we store jsoncons::json object inside jsoncons::ojson ? #414
-
Hi, I am trying to save data from multiple files into a big file, individual file data is stored in json object let's assume file_data, which I am inserting at a key let's say "file1". all_files_data.insert_or_assign("file1",file_data); |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Can you have
If not, you can always use the streaming api, e.g.
|
Beta Was this translation helpful? Give feedback.
-
I've got it. I had done a syntax error while creating objects of all ojson type, hence it was getting build failed error, but I've got it , thankyou. |
Beta Was this translation helpful? Give feedback.
I've got it. I had done a syntax error while creating objects of all ojson type, hence it was getting build failed error, but I've got it , thankyou.