Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ask-sdk-core/ask_sdk_core/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def __deserialize(self, payload, obj_type):
# Get object type for each item in the list
# Deserialize each item using the object type.
sub_obj_type = re.match(
'list\[(.*)\]', obj_type)
'list\\[(.*)\\]', obj_type)
if sub_obj_type is None:
return []
sub_obj_types = sub_obj_type.group(1)
Expand All @@ -209,7 +209,7 @@ def __deserialize(self, payload, obj_type):
# Get object type for each k,v pair in the dict
# Deserialize each value using the object type of v.
sub_obj_type = re.match(
'dict\(([^,]*), (.*)\)', obj_type)
'dict\\(([^,]*), (.*)\\)', obj_type)
if sub_obj_type is None:
return {}
sub_obj_types = sub_obj_type.group(2)
Expand Down