json_object and dart:mirror

Viewed 281

I am using json_object as in Using Dart with JSON Web Services

Code works fine in Dartium. Upon building using dart_to_js_script_rewriter, warning is thrown.

WARNING: dart:mirrors support in dart2js is experimental, * and not recommended. * This implementation of mirrors is incomplete, * and often greatly increases the size of the generated * JavaScript code. * * Your app imports dart:mirrors via: package:json_object => dart:mirrors

What are the good alternatives to json_object ? I know JSON.decode exists but I would like to avoid the Map API if possible

1 Answers
Related