Fixes for the JsonFraming #21150, #21154 and #21150

This commit is contained in:
Johan Andrén 2016-08-10 12:59:52 +02:00 committed by GitHub
parent 5caa23db97
commit e912f80390
4 changed files with 37 additions and 9 deletions

View file

@ -37,7 +37,7 @@ private[akka] object JsonObjectParser {
* INTERNAL API: Use [[akka.stream.scaladsl.JsonFraming]] instead.
*
* **Mutable** framing implementation that given any number of [[ByteString]] chunks, can emit JSON objects contained within them.
* Typically JSON objects are separated by new-lines or comas, however a top-level JSON Array can also be understood and chunked up
* Typically JSON objects are separated by new-lines or commas, however a top-level JSON Array can also be understood and chunked up
* into valid JSON objects by this framing implementation.
*
* Leading whitespace between elements will be trimmed.