Checks whether the output is a complete JSON. ! A complete JSON has a complete root object or array. */
| 132 | A complete JSON has a complete root object or array. |
| 133 | */ |
| 134 | bool IsComplete() const { |
| 135 | return hasRoot_ && level_stack_.Empty(); |
| 136 | } |
| 137 | |
| 138 | int GetMaxDecimalPlaces() const { |
| 139 | return maxDecimalPlaces_; |