public JsonSerializerProxy(JsonSerializerWriter serializerWriter)
        {
            ValidationUtils.ArgumentNotNull(serializerWriter, "serializerWriter");

            _serializerWriter = serializerWriter;
            _serializer       = serializerWriter._serializer;
        }
        public JsonSerializerProxy(JsonSerializerWriter serializerWriter)
        {
            ValidationUtils.ArgumentNotNull(serializerWriter, "serializerWriter");

              _serializerWriter = serializerWriter;
              _serializer = serializerWriter._serializer;
        }
        internal virtual void SerializeInternal(JsonWriter jsonWriter, object value)
        {
            ValidationUtils.ArgumentNotNull(jsonWriter, "jsonWriter");

              JsonSerializerWriter serializerWriter = new JsonSerializerWriter(this);
              serializerWriter.Serialize(jsonWriter, value);
        }