Add an option to allow jsonpath/xpath to return as array (#297)

Co-authored-by: Gregory Schier <gschier1990@gmail.com>
This commit is contained in:
Gregor Majcen
2025-11-13 14:57:11 +01:00
committed by GitHub
parent a4c4663011
commit 593a7ab7e5
34 changed files with 800 additions and 338 deletions

View File

@@ -786,7 +786,7 @@ impl PluginManager {
&self,
plugin_context: &PluginContext,
fn_name: &str,
values: HashMap<String, serde_json::Value>,
values: HashMap<String, JsonPrimitive>,
purpose: RenderPurpose,
) -> TemplateResult<String> {
let req = CallTemplateFunctionRequest {