It looks like the new Dart libraries from this morning are breaking the JsonObject lib.
When running existing code the output I get is:
Exception: NoSuchMethodError : method not found: 'JSON'
Receiver: Type: class 'JsonObject'
How to resolve?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is because the JSON library now has
stringifyandparseas top-level objects.I’ve update JsonOjbect to work with the latest version of the editor (17328).
Unfortunately, this also means I’ve had to remove the
objectToJsontop-level function, which needs some work to get it working with the new future syntax.Try
pub updateto pull in the latest version.