Crate zip_templates

Crate zip_templates 

Source
Expand description

Reference implementation of ZipTemplates algorithm (parse + render)

  • parse: splits template into statics and placeholders vectors
  • render: resolves placeholder dot-paths against a serde_json::Value and zips/stitches the final output

Structs§

ZipTemplate
Represents a parsed ZipTemplate, containing static and dynamic parts.

Functions§

flatten_json
Flattens a nested JSON object into a flat map with dot-separated keys.