evaluate_to_json

Function evaluate_to_json 

Source
pub fn evaluate_to_json(source: &str) -> Result<String>
Expand description

Evaluate a Jsonnet snippet and format as JSON string

§Arguments

  • source - Jsonnet source code as a string

§Returns

Result containing the JSON string representation or an error