Java
Chilkat2 Java
Decode HTML Entity Encoded JSON
See more JSON Examples
Decodes an HTML entity encoded string to JSON.Chilkat Java Downloads
import com.chilkatsoft.chilkat2.StringBuilder;
public class ChilkatExample {
public static void main(String[] args) {
StringBuilder sb = new StringBuilder();
sb.append("{"xyz": "abc"}");
sb.entityDecode();
// This is a test comment;
System.out.println(sb.getAsString());
// Output is:
// {"xyz": "abc"}
}
}