public void StartObject() { if (state == WriterState.ExpectingStartRootObject) { writer.WriteStartElement("Root"); } else if (state == WriterState.ExpectingArrayElement) { writer.WriteStartElement(ArrayElemStr); } stateStack.Push(state); state = WriterState.ExpectingProperty; pathBuilder.OnStartObject(); }
public void StartObject() { writer.WriteStartObject(); pathBuilder.OnStartObject(); }
public void StartObject() { consumer(TrwMemToken.StartObject()); pathBuilder.OnStartObject(); }