Enters a new scope by appending any necessary whitespace and the given bracket.
(int empty, char openBracket)
| 443 | |
| 444 | /** Enters a new scope by appending any necessary whitespace and the given bracket. */ |
| 445 | @CanIgnoreReturnValue |
| 446 | private JsonWriter openScope(int empty, char openBracket) throws IOException { |
| 447 | beforeValue(); |
| 448 | push(empty); |
| 449 | out.write(openBracket); |
| 450 | return this; |
| 451 | } |
| 452 | |
| 453 | /** Closes the current scope by appending any necessary whitespace and the given bracket. */ |
| 454 | @CanIgnoreReturnValue |
no test coverage detected