handlebars.java icon indicating copy to clipboard operation
handlebars.java copied to clipboard

JsonNodeValueResolver.toMap() should resolve the value of the Map.Entry in entrySet()

Open DavidWei252 opened this issue 3 years ago • 1 comments

The current entrySet() implementation of the Map inside the JsonNodeValueResolver.toMap() function didn't resolve the value of the entry. (source)

For example: With input { "array": [ {"foo":"bar"},{"foo":"biz"} ] } and template {{ join this.array ", " }}

The current implementation will output {foo="bar"},{foo="biz"} Instead we want the output become {foo=bar},{foo=biz}

Task: Update the current entrySet() implementation of the Map inside the JsonNodeValueResolver.toMap() function to resolve the entry value.

DavidWei252 avatar Apr 20 '22 21:04 DavidWei252

Candidate in #965.

carusology avatar Apr 21 '22 19:04 carusology