# Custom serialization

> Customize serialization and deserialization with Newtonsoft.Json attributes.

Cloud Code modules use the [Newtonsoft.Json](https://www.newtonsoft.com/json) library to serialize and deserialize data. You can use the `Newtonsoft.Json` attributes to customize the serialization and deserialization of your data.

For example, you can use the `JsonProperty` attribute to change the name of a property in the JSON representation of your data:

```csharp
using Newtonsoft.Json;

public class MyData
{
    [JsonProperty("myProperty")]
    public string MyProperty { get; set; }
}
```

For more information, refer to the [Newtonsoft.Json documentation](https://www.newtonsoft.com/json/help/html/SerializationAttributes.htm).
