I am trying to create a json string to reply back to my web client.
Code: Select all
ParsedJsonDataSet JsonOutObject;
JsonOutObject.StartBuilding();
CreateJsonString(packJSON,"deviceInfo");
JsonOutObject.Add("password","ThePassowrd")
JsonOutObject.Add("alarm","0");
JsonOutObject.DoneBuilding();
JsonOutObject.PrintObject(true);