freemarker 0.1.1

Apache FreeMarker 语义兼容的 Rust 模板引擎(freemarker-core 迁移)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! JSON C 格式 —— 对应 Java `freemarker.core.JSONCFormat`
//! (`CFormatKind::Json` 变体承载;字符串用 jsStringEnc(JS_OR_JSON, QUOTATION_MARK))

/// Java 类锚点:`JSONCFormat`(Rust 侧由 `CFormatKind::Json` 承载)
#[allow(dead_code)]
pub(crate) struct JsonCFormat;

impl JsonCFormat {
    /// Java `JSONCFormat.NAME`
    #[allow(dead_code)]
    pub(crate) const NAME: &'static str = "JSON";
}