helper method for StartArray and StartObject adds the current builder to a stack so its children can be visited and parsed.
| 898 | /// adds the current builder to a stack so its |
| 899 | /// children can be visited and parsed. |
| 900 | void StartNested() { |
| 901 | field_index_stack_.push_back(field_index_); |
| 902 | field_index_ = -1; |
| 903 | builder_stack_.push_back(builder_); |
| 904 | } |
| 905 | |
| 906 | /// helper method for EndArray and EndObject |
| 907 | /// replaces the current builder with its parent |