I love how versatile this is. I use it for templating.
For a case I would like to translate one object into another object. I don't want to create a JSON template and then JSON.parse it because of the added overhead.
Can this be modified to do that, or do you know anything similar-ish that doesn't output a string but rather an object?
I love how versatile this is. I use it for templating.
For a case I would like to translate one object into another object. I don't want to create a JSON template and then
JSON.parse
it because of the added overhead.Can this be modified to do that, or do you know anything similar-ish that doesn't output a string but rather an object?
Full disclosure.