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
This is just mostly a note for myself, but feel free to comment anything you think is relevant
Just figured out some more of Serde's features that could really help with improving deserialization of JSON from Roblox.
#[serde(alias = "")]
name: Option<Value>
#[serde(default)]
#[serde(default = "path")]
#[serde(rename(deserialize = "de_name"))]
Honestly, this website will probably be really useful.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is just mostly a note for myself, but feel free to comment anything you think is relevant
Just figured out some more of Serde's features that could really help with improving deserialization of JSON from Roblox.
#[serde(alias = "")]
: useful for if fields are named different things but are otherwise the samename: Option<Value>
: can handle fields just not existing#[serde(default)]
or#[serde(default = "path")]
#[serde(rename(deserialize = "de_name"))]
can help for mapping camelCase names to snake_case namesHonestly, this website will probably be really useful.
The text was updated successfully, but these errors were encountered: