use the json for chardiff