-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
Current behavior
If the value is an object or array, [object Object]
will be put into the template. This might not be very helpful for debugging (and sometimes this is exactly what you would want, which forces you to write a transformation).
Expected behavior
Add an option like stringifyObjectValues
or equivalent in the stringify options and let it put a nicer presentation of objects in the output.
Out of scope
One may want to give special treatment to arrays or set the indentation as well but I'm not aware of any strong use case so let's not add that now.