Sample code for 30+ languages & platforms
VBScript

Decode HTML Entity Encoded JSON

See more JSON Examples

Decodes an HTML entity encoded string to JSON.

Chilkat VBScript Downloads

VBScript
Dim fso, outFile
Set fso = CreateObject("Scripting.FileSystemObject")
'Create a Unicode (utf-16) output text file.
Set outFile = fso.CreateTextFile("output.txt", True, True)

success = 0

set sb = CreateObject("Chilkat.StringBuilder")

success = sb.Append("{"xyz": "abc"}")

success = sb.EntityDecode()

' This is a test comment;
outFile.WriteLine(sb.GetAsString())

' Output is:

' {"xyz": "abc"}

outFile.Close