C# private properties

Hi all,
I am migrating some XML data to MongoDB using the C# driver. In XML I was used to serialize/deserialize classes with private properties, just using the attribute:
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Include)]

Is there something similar in MongoDB or all the properties that I want to write/read must be public?

Thanks in advance,
Andrea