-Documentation
This commit is contained in:
James Newton-King
2014-09-10 20:04:39 +12:00
parent d463fce5a1
commit 352e52dda0
7 changed files with 582 additions and 0 deletions
@@ -48,6 +48,19 @@ namespace Newtonsoft.Json.Tests
[TestFixture]
public class JsonTextReaderTest : TestFixtureBase
{
[Test]
public void ReadSingleQuoteInsideDoubleQuoteString()
{
string json = @"{""NameOfStore"":""Forest's Bakery And Cafe""}";
JsonTextReader jsonTextReader = new JsonTextReader(new StringReader(json));
jsonTextReader.Read();
jsonTextReader.Read();
jsonTextReader.Read();
Assert.AreEqual(@"Forest's Bakery And Cafe", jsonTextReader.Value);
}
[Test]
public void ReadMultilineString()
{