Skip to main content

build

Function build 

Source
pub fn build(v: &Value, ctx: &BuildContext) -> Result<Box<dyn Block>>
Expand description

Build a block from its JSON description.

ยงErrors

Error::Config for an unknown type (the message lists the known ones), an unknown or ill-typed parameter, or an invalid value.