def build(self):
if self.json['<STR_LIT>']['<STR_LIT:type>'] == '<STR_LIT>':<EOL><INDENT>if any(k in self.json for k in ['<STR_LIT>', '<STR_LIT>']):<EOL><INDENT>return SyncPage(<EOL>self.json,<EOL>default_locale=self.default_locale,<EOL>localized=True<EOL>)<EOL><DEDENT>return self._build_array()<EOL><DEDENT>return self._build_single()<EOL>
Creates the objects from the JSON response