google / google/json_serializable.dart

Map unrecognized keys

Open
#587 4 comments 4 reactions 0 assignees View on GitHub
P3 low Type: enhancement
Dominant language
Dart
Stars
1.6k
Forks
461
Avg merge
45m
Merged PRs (30d)
1

Description

Is there a way to map unrecognized keys to a Map?

For example I know that a json has some properties, but I want to parse also the unrecognized keys in order to implement custom logic depending on those.'

I imagine a property like `Map otherFields`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.