mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 06:56:27 +00:00
No need to resolve private fields in json serializer
This commit is contained in:
parent
cc42c3971f
commit
8fb50ad9cf
@ -19,7 +19,6 @@ namespace SpotifyAPI.Web.Http
|
|||||||
{
|
{
|
||||||
NamingStrategy = new SnakeCaseNamingStrategy()
|
NamingStrategy = new SnakeCaseNamingStrategy()
|
||||||
};
|
};
|
||||||
contractResolver.DefaultMembersSearchFlags |= BindingFlags.NonPublic;
|
|
||||||
|
|
||||||
_serializerSettings = new JsonSerializerSettings
|
_serializerSettings = new JsonSerializerSettings
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user