Unicode C
Unicode C
Decode HTML Entity Encoded JSON
See more JSON Examples
Decodes an HTML entity encoded string to JSON.Chilkat Unicode C Downloads
#include <C_CkStringBuilderW.h>
void ChilkatSample(void)
{
BOOL success;
HCkStringBuilderW sb;
success = FALSE;
sb = CkStringBuilderW_Create();
success = CkStringBuilderW_Append(sb,L"{"xyz": "abc"}");
CkStringBuilderW_EntityDecode(sb);
// This is a test comment;
wprintf(L"%s\n",CkStringBuilderW_getAsString(sb));
// Output is:
// {"xyz": "abc"}
CkStringBuilderW_Dispose(sb);
}