dartwatch-JsonObject icon indicating copy to clipboard operation
dartwatch-JsonObject copied to clipboard

JsonObject broken build

Open akserg opened this issue 11 years ago • 3 comments

Hi Chris, I tried to use JsonObject with my project but it has a lot of errors. Do you have any plans to fix it soon or I need to find another solution?

Regards, Sergey

akserg avatar Nov 07 '13 10:11 akserg

Thanks for letting me know ... 1.0.18 now deployed on pub, with all tests passing.

chrisbu avatar Nov 07 '13 10:11 chrisbu

Hi Chris,

Thank you for quick fix. May I ask you about objectToJson function. Seems it doesn't work. I have created project with copy of your code: [image: Inline images 1]

It compiles but executes with exception:

Exception: Class '_LocalInstanceMirrorImpl' has no instance method 'then'.

NoSuchMethodError : method not found: 'then' Receiver: Instance of '_LocalInstanceMirrorImpl@0x4863bc9' Arguments: [Closure: (InstanceMirror) => dynamic, onError: Closure: (dynamic) => dynamic] _serializeObject. (package:json_object/src/mirror_based_serializer.dart:174:25) _serializeObject (package:json_object/src/mirror_based_serializer.dart:156:34) objectToSerializable (package:json_object/src/mirror_based_serializer.dart:53:21) objectToJson (package:json_object/src/mirror_based_serializer.dart:22:23) main (http://127.0.0.1:3030/jsonobject/web/jsonobject.dart:15:15)

Do you have minutes to look what's wrong here? It sounds like Mirrors library has been changed from last time when you used it successfully on that example.

Regards, Sergey.

On 7 November 2013 12:47, Chris Buckett [email protected] wrote:

Thanks for letting me know ... 1.0.18 now deployed on pub, with all tests passing.

— Reply to this email directly or view it on GitHubhttps://github.com/chrisbu/dartwatch-JsonObject/issues/36#issuecomment-27953100 .

akserg avatar Nov 07 '13 15:11 akserg

I'm having the same issue. A little bummed this isn't working since it's a really useful feature. Do you have any idea if any work is being done on this bug?

Thanks,

Salgat avatar Dec 28 '13 17:12 Salgat