@rmehta Even I have faced this issue, when we try to print a LIST in frappe.msgprint then the list earlier used to show as python list but now it is rendered as separate elements and show in the next line so
frappe.msgprint(["foo", "bar"]) would earlier show as below:
[“foo”, “bar”]
But now it shows as:
foo
bar
Also this error mentioned by @fachristy would come when we try to msgprint a dict variable.
In javascript, if we typed import json, it is giving error once we load the page (even if I typed import json;).
Anyway, I was only able to display the content of the dictionary using alert(JSON.stringify(dict)); and I was not able to achieve this using msgprint or frappe.msgprint.