public WriteRaw ( string json ) : void | ||
json | string | The raw JSON to write. |
return | void |
public void WriteRaw() { JTokenWriter writer = new JTokenWriter(); writer.WriteStartArray(); writer.WriteRaw("fail"); writer.WriteRaw("fail"); writer.WriteEndArray(); // this is a bug. write raw shouldn't be autocompleting like this // hard to fix without introducing Raw and RawValue token types // meh StringAssert.AreEqual(@"[ fail, fail ]", writer.Token.ToString()); }