Hi @srbhaski
What SDK version are you using?
Overriding the JsonSerializerSettings on the cluster has been deprecated in favour of providing custom a Serialiser and Converter. We did this to make the serialisation process work with other serializers than just Newtonsoft.Json. This is the ticket it was done for.
A custom serializer and converter can be added during initialisation like this:
var config = new ClientConfiguration
{
Serializer = () => new CustomSerializer(), // Couchbase.Core.Serialization.ITypeSerializer
Converter = () => new CustomConverter(), // Couchbase.IO.Converters.IByteConverter
Servers = new List<Uri> {new Uri("couchbase://localhost")}
// other config
};
ClusterHelper.Initialize(config);