Ported the get_loop_elements wrapper.
This commit is contained in:
@@ -126,7 +126,7 @@ impl Walkable for serde_json::Value {
|
||||
}
|
||||
|
||||
impl Loopable for serde_json::Value {
|
||||
fn get_loop_elements(&self) -> Result<Vec<&dyn ContextElement>, RenderError> {
|
||||
fn get_loop_elements(&self) -> Vec<&dyn ContextElement> {
|
||||
match self {
|
||||
serde_json::Value::Null => Ok(Vec::new()),
|
||||
serde_json::Value::Bool(boolean) => {
|
||||
|
||||
Reference in New Issue
Block a user