=htp address review feedback on JSON streaming
This commit is contained in:
parent
bc536be32c
commit
6562ddd2df
13 changed files with 114 additions and 22 deletions
|
|
@ -143,7 +143,7 @@ private[akka] class JsonObjectParser(maximumObjectLength: Int = Int.MaxValue) {
|
|||
isStartOfEscapeSequence = false
|
||||
pos += 1
|
||||
} else {
|
||||
throw new FramingException(s"Invalid JSON encountered as position [$pos] of [$buffer]")
|
||||
throw new FramingException(s"Invalid JSON encountered at position [$pos] of [$buffer]")
|
||||
}
|
||||
|
||||
@inline private final def insideObject: Boolean =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue