public void Null() { if (state != WriterState.ExpectingArrayElement) { writer.WriteAttributeString("null", "True"); writer.WriteEndElement(); } else { writer.WriteStartElement(ArrayElemStr); writer.WriteAttributeString("null", "True"); writer.WriteEndElement(); } pathBuilder.OnValue(); }
private void WriteValue <T>(T value, Action <JsonWriter, T> write) { write(writer, value); pathBuilder.OnValue(); }
public void Null() { consumer(TrwMemToken.Null()); pathBuilder.OnValue(); }