HubSpot / jinjava

Jinja template engine for Java
Apache License 2.0
690 stars 168 forks source link

Do not add broken JSON to resolved expressions. #1149

Closed hs-lsong closed 7 months ago

hs-lsong commented 7 months ago

When we resolve an expression as a "JSON" object, we should not break it out into broken pieces. For example, expr = {'a': 1, 'b': 2}, we should not add {'a': 1 to resolved expressions.