jaguar_serializer icon indicating copy to clipboard operation
jaguar_serializer copied to clipboard

Format (JSON, XML, protobuf, mongodb, etc) and platform (server, client) agnostic serialization framework

Results 34 jaguar_serializer issues
Sort by recently updated
recently updated
newest added

Can you support null safety in Dart 2?

I have two classes that look like this: ``` class ApiError { final String message; ApiError({this.message}); } class ApiResponse { final T data; final ApiError error; ApiError({this.data, this.error}); } ```...

Because jaguar_serializer_cli >=2.2.6 depends on analyzer ^0.36.0 and chopper_generator 3.0.1 depends on analyzer ^0.38.2, jaguar_serializer_cli >=2.2.6 is incompatible with chopper_generator 3.0.1. So, because module_flutter depends on both chopper_generator 3.0.1 and...

I've update to serializer cli v2.2.8 and now Uint8list can't be generated correctly: ``` JaguarCliException: Cannot handle Uint8List in UserUpdateSerializer! [SEVERE] #0 AnnotationParser._expandTypeInfo (package:jaguar_serializer_cli/src/instantiater/instantiater.dart:441:5) #1 AnnotationParser.parse (package:jaguar_serializer_cli/src/instantiater/instantiater.dart:94:20) #2 JaguarSerializerGenerator.generateForAnnotatedElement (package:jaguar_serializer_cli/src/generator.dart:34:65)...

When deserialization is done and model contains list, they should be immutable (meaning use `growable:false`) to prevent miss usage add allow add/remove items into those list.

``` name: firsttry description: First Project version: 1.0.0+1 environment: sdk: ">=2.1.0

In java I used this feature to parse json like this: ``` [ { type: 'myClass',... }, { type: 'myClass2',... } ] ``` it allow the parser to know which...

I have a csharp code and I am not sure if this plugin serialise the object to byte array. Below example uses Xml.Serialization. how to use jaguar_serializer in same manner...