0

I want to flatten a JSON string in C++. Please recommend me a C++ library that does the following. The input looks like the following -

    {
"machine_one":[
   {
      "Operation":"Copy",
      "Service1":{
         "LifeTime":38487,
         "TTL":107
      }
   }
],
"IO":"12"
 }

The output looks like the following -

    machine_one.Operation, machine_one.Service1.LifeTime, machine_one.Service1.TTL, IO
 Copy,                  38487,                          107,                     12
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.