Custom serialization
Customize serialization and deserialization with Newtonsoft.Json attributes.
Read time 1 minuteLast updated 18 hours ago
Cloud Code modules use the Newtonsoft.Json library to serialize and deserialize data. You can use the
Newtonsoft.JsonJsonPropertyFor more information, refer to the Newtonsoft.Json documentation.using Newtonsoft.Json;public class MyData{ [JsonProperty("myProperty")] public string MyProperty { get; set; }}