0

1.i need print json format like { "numport":1 [ { "Port":1 "value":234 },{ "Port":2 "value":2344 } ]

Goudam M
  • 19
  • 2

1 Answers1

0

What you printed is not a valid json string. So cJSON won't be able to create it. You can validate your string here: https://jsonformatter.curiousconcept.com/

hko
  • 548
  • 2
  • 19