encore_json should be encode_json.
In reply to Re^2: strings to json by marto in thread strings to json by bigup401