LList currently calls unbuilder.beginObject twice when there's a Map as one of the LList elements,
but beginObject-endObject should be handled via the Map's codec.
Solution
This changes the code to call the second unbuilder.beginObject only when we think there's a nested LList.
This is a backport of https://github.com/eed3si9n/sjson-new/pull/137
Problem
LList currently calls
unbuilder.beginObject
twice when there's aMap
as one of the LList elements, butbeginObject
-endObject
should be handled via the Map's codec.Solution
This changes the code to call the second
unbuilder.beginObject
only when we think there's a nested LList.