Closed lauterry closed 12 years ago
Replacing Map _objectData;
by var _objectData;
seems to solve the problem.
May be a temporary workaround for now.
Thanks, I'll investigate. I think there must have been quite a few breaking changes in the last couple of weeks.
On 8 June 2012 15:22, LAU Thierry < reply@reply.github.com
wrote:
The following line
var result = new JsonObject.fromJsonString('["Dart",0.8]');
causes an exception :
Caught type 'GrowableObjectArray' is not a subtype of type 'Map' of 'value'..
My Dart SDK version is 8369.
Thanks
Reply to this email directly or view it on GitHub: https://github.com/chrisbu/dartwatch-JsonObject/issues/6
Seems to be working ok in build 8942 - must have been a blip. thanks for logging, though.
The following line
var result = new JsonObject.fromJsonString('["Dart",0.8]');
causes an exception :
Caught type 'GrowableObjectArray' is not a subtype of type 'Map' of 'value'..
Exception ouput highlights the line JsonObject.dart line:14 col:7
My Dart SDK version is 8369.
Thanks