json_serializable.dart icon indicating copy to clipboard operation
json_serializable.dart copied to clipboard

Generates utilities to aid in serializing to/from JSON.

Results 161 json_serializable.dart issues
Sort by recently updated
recently updated
newest added

Thank you for this package! I failed to find any discussions about this and it feels like essential feture at this moment. Do you have any plan to implement union-like...

Type: enhancement

**Describe the solution you'd like** I'm using freezed in the example but in the background that is using this package. I would like to have generated option for json serialization...

How can I set a converter globally to replace the builtin datetime for example? this does not appear in the documentation https://pub.dev/packages/json_serializable replace the datetime converter with a custom one...

Type: enhancement
pkg:json_serializable

Hello, I'm working with a backend that sends a significant number of enums formatted in snake case. Upon reviewing the documentation and examples for the json_serializable package, I didn't find...

Since Version 6.7.0 Records are supported. If I am right, there is currently no possibility to set a default value for a field inside the record. For example: ```dart @JsonSerializable()...

my json convertor ```class JsonIntConverter extends JsonConverter { const JsonIntConverter(); @override int fromJson(dynamic json) { if (json is int) { return json; } else { return int.parse(json); } } @override...

@kevmoo Iterated as requested on #997 Fixes: https://github.com/google/json_serializable.dart/issues/396 See hacky workaround that is forced to do this at runtime for the fast_immutable_collections package, and is not able to handle enum...

I want to serialized this class, and I want that the property be required to have static analysis when I used so I don't forget to assign it. The default...

Appreciate the quick work on getting records implemented for `json_serializable`. One request that I have is for records that _only_ contain positional fields be serialized/deserialized as lists so that if...

Type: enhancement