Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-359

Allow Serializer Customization

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 1.3.2
    • 1.3.1
    • library
    • None

    Description

      Pull request can be found here: https://github.com/couchbase/couchbase-net-client/pull/10

      Hi there,

      I have some custom serialization requirements; however, currently the CouchbaseClientExtensions does not allow me to customize the Newtonsoft.Json serializer.

      This patch allows serializer customization by placeing a static field onCouchbaseClientExtensions.JsonSerializerSettings that enables users of the couchbase extension class to customize the serializer.

      Also added a static constructor to CouchbaseClientExtensions which maintains defaults.

      Thanks,
      Brian

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty