1.i need print json format like { "numport":1 [ { "Port":1 "value":234 },{ "Port":2 "value":2344 } ]
Asked
Active
Viewed 115 times
1 Answers
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