Commits

Yuriy Netesov  committed 3dee045 Draft

fixed message deserialiation

  • Participants
  • Parent commits c5ce899

Comments (0)

Files changed (1)

File generators/erlang/templates/json/deserializers.py

         self._valueName = valueName
 
     def body(self):
-        self.add(TSimple(StringTemplate("inner_deserialize_message($valueName)").substitute({'valueName' : self._valueName}), indent=1))
+        self.add(TSimple(StringTemplate(" inner_deserialize_message(element(2, $valueName))").substitute({'valueName' : self._valueName}), indent=1))
 
 class TListFieldDeserializer(Template):
     def __init__(self, field, valueName):