Exemplo n.º 1
0
        /// <summary>
        /// Constructs the serializer
        /// </summary>
        public CustomJsonSerializer()
        {
            binder          = new NonDefaultSerializationBinder();
            settings.Binder = binder;

            // PRXM
            settings.ContractResolver    = new MessagesContractResolver();
            settings.ConstructorHandling = ConstructorHandling.AllowNonPublicDefaultConstructor;
            // PRXM
        }
Exemplo n.º 2
0
 /// <summary>
 /// Constructs the serializer
 /// </summary>
 public JsonMessageSerializer()
 {
     binder = new NonDefaultSerializationBinder();
     settings.Binder = binder;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructs the serializer
 /// </summary>
 public JsonMessageSerializer()
 {
     binder          = new NonDefaultSerializationBinder();
     settings.Binder = binder;
 }