-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address PR comments, changing response type for Has Privileges API calls
- Loading branch information
Showing
2 changed files
with
69 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I don't think a
JsonConverter
is needed for the complete response; it looks like just oneJsonConverter
is needed to convert a JSON object to a readonly collection ofResourcePrivileges
, and to attribute just that property with aJsonConverterAttribute
to use thatJsonConverter
. JSON.Net's default deserialization can take care of the rest.