Expand description
Reference implementation of ZipTemplates algorithm (parse + render)
- parse: splits template into
staticsandplaceholdersvectors - render: resolves placeholder dot-paths against a
serde_json::Valueand 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.