gson-comments/gson/src/test/java/com
Marcono1234 70bda4b9c9
Throw exception when calling JsonWriter.name outside JSON object (#2476)
Previous fix in 392cc65ff3 only covered writing
name as top level value, but not when trying to write name inside JSON array.

Removed `stackSize == 0` check from `JsonWriter.name` because that is done
already by `peek()` call.
2023-08-29 08:41:06 -07:00
..
google/gson Throw exception when calling JsonWriter.name outside JSON object (#2476) 2023-08-29 08:41:06 -07:00