-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unmarshaling datetime and base64 for JSONRPC
JSONRPC marshals these as string, but then trying to unmarshal would raise an exception. We need to accept String when unmarshaling DateTime and Base64 too. Some type safety is lost, because JSON doesn't have a way to distinguish between these (XMLRPC does). Update the unit test to check that this now works. Signed-off-by: Edwin Török <[email protected]>
- Loading branch information
1 parent
ade14a5
commit 75f1af6
Showing
2 changed files
with
3 additions
and
4 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