In order to deal with HTTP responses that can contain either a root JSON Object or a root JSON Array, at a low level we have to check the structure and either return a Map<> or a List<>. That fundamentally changes some of the core code across the SDK, so we added __fake_root to circumvent this without a breaking change.
Look at addressing this in a better way with a breaking change for the next major version bump.
In order to deal with HTTP responses that can contain either a root JSON Object or a root JSON Array, at a low level we have to check the structure and either return a
Map<>or aList<>. That fundamentally changes some of the core code across the SDK, so we added__fake_rootto circumvent this without a breaking change.Look at addressing this in a better way with a breaking change for the next major version bump.