Json_object and the dart: mirror

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

Code works fine in Dartium. When created using dart_to_js_script_rewriter, a warning is issued.

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

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

+4
source share
1 answer

json , , Dart VM.

, jaguar_serializer, JSON Dart.

+1

Source: https://habr.com/ru/post/1677633/


All Articles