foundry_cheatcodes::json

Function parse_json_as

Source
pub(crate) fn parse_json_as(
    value: &Value,
    ty: &DynSolType,
) -> Result<DynSolValue>
Expand description

Parses given serde_json::Value as a [DynSolValue].