-Fix writing raw JValue tokens

This commit is contained in:
JamesNK
2009-01-24 01:06:35 +00:00
parent 803c381c72
commit 50cca1ec0b
3 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -647,9 +647,9 @@ namespace Newtonsoft.Json
/// <param name="json">The raw JSON to write.</param>
public virtual void WriteRawValue(string json)
{
WriteRaw(json);
// hack. want writer to change state as if a value had been written
AutoComplete(JsonToken.Undefined);
WriteRaw(json);
}
/// <summary>