fix(solc): methods is object (#734)

This commit is contained in:
Matthias Seitz 2021-12-25 17:20:24 +01:00 committed by GitHub
parent 3f095f415f
commit bd03bda878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -726,7 +726,7 @@ pub struct DevDoc {
#[serde(default, rename = "custom:experimental", skip_serializing_if = "Option::is_none")] #[serde(default, rename = "custom:experimental", skip_serializing_if = "Option::is_none")]
pub custom_experimental: Option<String>, pub custom_experimental: Option<String>,
#[serde(default, skip_serializing_if = "::std::collections::BTreeMap::is_empty")] #[serde(default, skip_serializing_if = "::std::collections::BTreeMap::is_empty")]
pub methods: BTreeMap<String, String>, pub methods: BTreeMap<String, serde_json::Value>,
#[serde(default, skip_serializing_if = "Option::is_none")] #[serde(default, skip_serializing_if = "Option::is_none")]
pub title: Option<String>, pub title: Option<String>,
} }