Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Enable access to unknown properties #41

Open
jimirocks opened this issue Apr 26, 2017 · 0 comments
Open

Enable access to unknown properties #41

jimirocks opened this issue Apr 26, 2017 · 0 comments

Comments

@jimirocks
Copy link
Contributor

Introduce some mechanism for accessing unknown properties when decoding. For example in Jackson (java) there is @JsonAnySetter.

Dartson equivalent could be something like:

@Entity()
class MyEntity {
  @Property() String knownValue;
  @AnyProperty() Map<String, dynamic> unknownProperties;
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants