~euantorano/system.text.json-object-serialization

ref: 361368ff9bdcb75072c0895dfcdbc2317bf3c744 system.text.json-object-serialization/JsonEncodeTest/SubClass.cs -rw-r--r-- 264 bytes
361368ffEuan Torano Initial commit 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
using System.Text.Json.Serialization;
using Newtonsoft.Json;

namespace JsonEncodeTest
{
    public class SubClass : BaseClass
    {
        [JsonProperty("string_val")]
        [JsonPropertyName("string_val")]
        public string StringVal { get; set; }
    }
}