* Drains the response and returns the JSON object. * @return {!Promise<!JsonObject>}
()
| 13663 | * @return {!Promise<!JsonObject>} |
| 13664 | */ |
| 13665 | json() { |
| 13666 | return /** @type {!Promise<!JsonObject>} */ ( |
| 13667 | this.drainText_().then(parseJson) |
| 13668 | ); |
| 13669 | } |
| 13670 | |
| 13671 | /** |
| 13672 | * Drains the response and returns a promise that resolves with the response |
nothing calls this directly
no test coverage detected