Closed evestera closed 2 years ago
Useful if you need to preserve all data on roundtrips. E.g. if you are fetching something, changing it and sending it back/somewhere else.
@JsonAnySetter @get:JsonAnyGetter val additionalFields: Map<String, Any> = mutableMapOf()
#[serde(flatten)] additional_fields: HashMap<String, Value>,
Not relevant for TypeScript, but maybe for JSON Schema.
Implemented in 56e580cb5. Released in v0.7.0
Useful if you need to preserve all data on roundtrips. E.g. if you are fetching something, changing it and sending it back/somewhere else.
Jackson/Kotlin
Rust/Serde
Not relevant for TypeScript, but maybe for JSON Schema.