We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Say I have some field name that encodes additional information:
{ "gsi1pk": "p", "gsi1sk": "s", }
What's the simplest way to deserialize it into a structure based on string (regex) patterns?:
struct Gsi { ordinal: u8, partition: String, sort: String }
So the result would be:
Gsi{ordinal: 1, partition: "p".into(), sort: "s".into() }
If this is too difficult, what about deserializing the fields individually, to at least get something like?:
GsiPk{ordinal: 1, partition: "p".into()} GsiSk{ordinal: 1, sort: "s".into()}
GsiPk{ordinal: 1, partition: "p".into()}
GsiSk{ordinal: 1, sort: "s".into()}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Say I have some field name that encodes additional information:
What's the simplest way to deserialize it into a structure based on string (regex) patterns?:
So the result would be:
Gsi{ordinal: 1, partition: "p".into(), sort: "s".into() }
If this is too difficult, what about deserializing the fields individually, to at least get something like?:
GsiPk{ordinal: 1, partition: "p".into()}
GsiSk{ordinal: 1, sort: "s".into()}
The text was updated successfully, but these errors were encountered: