Exemple #1
0
 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();
 }
Exemple #3
0
 public void Null()
 {
     consumer(TrwMemToken.Null());
     pathBuilder.OnValue();
 }