Crate kotoba_jsonnet

Crate kotoba_jsonnet 

Source
Expand description

§Kotoba-Jsonnet

A complete Rust implementation of Jsonnet 0.21.0 compatible with the Jsonnet specification. This crate provides a pure Rust implementation without external C dependencies.

Re-exports§

pub use error::JsonnetError;
pub use error::Result;
pub use evaluator::Evaluator;
pub use parser::Parser;
pub use value::JsonnetValue;

Modules§

ast
Abstract Syntax Tree for Jsonnet
error
Error types for Jsonnet evaluation
eval
Evaluation components for Jsonnet
evaluator
Jsonnet expression evaluator
lexer
Jsonnet lexer (tokenizer)
parser
Jsonnet parser
runtime
Runtime components for external function execution
stdlib
Jsonnet standard library implementation
value
Jsonnet value representation

Constants§

VERSION
Version information

Functions§

evaluate
Evaluate a Jsonnet snippet
evaluate_to_json
Evaluate a Jsonnet snippet and format as JSON string
evaluate_with_filename
Evaluate a Jsonnet snippet with a filename for error reporting