Kevin Moore

Results 914 comments of Kevin Moore

I'll need a changelog update and tests...and a rebase 😄

This is in the scope known work that just hasn't been done. Handling prefixes for core types, etc is something we also need to work on

I don't think you can `switch` over instances + types.

Maybe this example will help you? https://github.com/google/json_serializable.dart/blob/master/example/lib/tuple_example.dart

This is really tricky. We have to pick a type to go with, so we pick the `getter` here.

@denkuy – you could imagine creating a custom parser that creates annotated objects directly, without first creating the JSON literal objects. That's what this issue is discussing...

Instead of `bytes/String -> [JSON decode] -> Map -> [MyClass.fromJson] -> MyClass` Do this `bytes/String -> [MyClassConverter] -> MyClass`