setting restClient.JsonSerializer for json.net compatibility
1,321 views
Skip to first unread message
Frank Schwietermen
unread,
Jan 30, 2013, 9:03:42 PM1/30/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rest...@googlegroups.com
I was updating a library that is using JSON.Net attributes in serialization. Following the instructions here: https://github.com/restsharp/RestSharp/blob/master/readme.txt, I end up being stuck. The problem is that the RestClient appears to no longer have a JsonSerializer property I can set. It looks like I can set a RestRequest.JsonSeerializer. Is there a way to assign the serializer on a per-client basis still?
thanks
Frank Schwietermen
unread,
Jan 30, 2013, 9:37:42 PM1/30/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rest...@googlegroups.com
It looks like setting RestRequest.JsonSerializer was fine for me. Sorry for all the noise.
Adam Fisher
unread,
Feb 3, 2016, 1:30:44 PM2/3/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message