Correct bugs in JavaScript string escaping. Add JavaScriptConvertTest.
This commit is contained in:
@@ -498,6 +498,26 @@ keyword such as type of business.""
|
||||
CollectionAssert.AreEqual(r1, r2);
|
||||
}
|
||||
|
||||
public class Person
|
||||
{
|
||||
private Guid _internalId;
|
||||
private string _firstName;
|
||||
|
||||
[JsonIgnore]
|
||||
public Guid InternalId
|
||||
{
|
||||
get { return _internalId; }
|
||||
set { _internalId = value; }
|
||||
}
|
||||
|
||||
[JsonProperty("first_name")]
|
||||
public string FirstName
|
||||
{
|
||||
get { return _firstName; }
|
||||
set { _firstName = value; }
|
||||
}
|
||||
}
|
||||
|
||||
//public abstract class Foo
|
||||
//{
|
||||
//}
|
||||
|
||||
Reference in New Issue
Block a user