프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / packages / RestSharp.105.2.3 / readme.txt @ 3e2e0589

이력 | 보기 | 이력해설 | 다운로드 (944 Bytes)

1
*** IMPORTANT CHANGE IN RESTSHARP VERSION 103 ***
2

    
3
In 103.0, JSON.NET was removed as a dependency. 
4

    
5
If this is still installed in your project and no other libraries depend on 
6
it you may remove it from your installed packages.
7

    
8
There is one breaking change: the default Json*Serializer* is no longer 
9
compatible with Json.NET. To use Json.NET for serialization, copy the code 
10
from https://github.com/restsharp/RestSharp/blob/86b31f9adf049d7fb821de8279154f41a17b36f7/RestSharp/Serializers/JsonSerializer.cs 
11
and register it with your client:
12

    
13
var client = new RestClient();
14
client.JsonSerializer = new YourCustomSerializer();
15

    
16
The default Json*Deserializer* is mostly compatible, but it does not support
17
all features which Json.NET has (like the ability to support a custom [JsonConverter]
18
by decorating a certain property with an attribute). If you need these features, you
19
must take care of the deserialization yourself to get it working.
20

    
클립보드 이미지 추가 (최대 크기: 500 MB)