Mysterious chunking behaviour when using Akka HTTP

I worked it out. :-) JSON was being returned as an array. The first chunk was the start of array marker ("[").

Switching to JSON lines output as described here works just fine.

2 Likes