forked from rojo-rbx/rojo
Support $schema in JSON structures (#974)
This commit is contained in:
@@ -61,6 +61,9 @@ pub fn snapshot_json_model(
|
||||
#[derive(Debug, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
struct JsonModel {
|
||||
#[serde(rename = "$schema", skip_serializing_if = "Option::is_none")]
|
||||
schema: Option<String>,
|
||||
|
||||
#[serde(alias = "Name")]
|
||||
name: Option<String>,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user