C++
C++
Decode HTML Entity Encoded JSON
See more JSON Examples
Decodes an HTML entity encoded string to JSON.Chilkat C++ Downloads
#include <CkStringBuilder.h>
void ChilkatSample(void)
{
bool success = false;
CkStringBuilder sb;
success = sb.Append("{"xyz": "abc"}");
sb.EntityDecode();
// This is a test comment;
std::cout << sb.getAsString() << "\r\n";
// Output is:
// {"xyz": "abc"}
}