rexim / resume

Source code of my resume
11 stars 5 forks source link

Object templates #5

Closed rexim closed 9 years ago

rexim commented 9 years ago

Any JSON object in resume.json can have template field. That means this object will be transformed into text by passing it through the template file assigned to the template field.

The transformation should be performed by recursive traverse from the leaves up to the root. The transformation should be performed after the tag filtering #4.

rexim commented 9 years ago

Initial implementation of this feature has shown that if something is wrong (template field is missing where it is needed or the template itself is misbehaving) it's really hard to troubleshoot anything.

Maybe we should make a restriction that any JSON object should have template field and any JSON object should be rendered to a string.