internal virtual void PopulateInternal(JsonReader reader, object target)
        {
            ValidationUtils.ArgumentNotNull(reader, "reader");
            ValidationUtils.ArgumentNotNull(target, "target");

            JsonSerializerReader serializerReader = new JsonSerializerReader(this);

            serializerReader.Populate(reader, target);
        }
示例#2
0
 protected override void PopulateInternal(JsonReader reader, object target)
 {
     if (_serializerReader != null)
     {
         _serializerReader.Populate(reader, target);
     }
     else
     {
         _serializer.Populate(reader, target);
     }
 }