Regression on Lucee 6: deserializeJSON throws an error on empty string

Not much else to say beyond the title. There’s a regression on Lucee 6.

deserializeJSON() throws an error on an empty string.

It didn’t in previous versions.

That said, an empty string is not considered valid JSON in Javascript either, and will not parse, but it’s worth mentioning or documenting somewhere as a breaking change.

Ahh, I see that was intentional, nevermind.

1 Like