Checks whether the output is a complete JSON. ! A complete JSON has a complete root object or array. */
| 99 | A complete JSON has a complete root object or array. |
| 100 | */ |
| 101 | bool IsComplete() const { |
| 102 | return hasRoot_ && level_stack_.Empty(); |
| 103 | } |
| 104 | |
| 105 | /*!@name Implementation of Handler |
| 106 | \see Handler |