def _dev_populate_from_json_data(self, json_data):
<EOL>comment = json_data.pop("<STR_LIT>", None)<EOL>if comment is not None:<EOL><INDENT>self._comment = comment<EOL><DEDENT>external_files_data = json_data.pop("<STR_LIT>", dict())<EOL>self._dev_external_files_manager.populate_from_json_data(external_files_data)<EOL>added_records = []<EOL>for table_ref, json_data_records in json_data.items():<EOL><INDENT>table = getattr(self, table_ref)<EOL>records = table._dev_add_inert(json_data_records)<EOL>added_records.extend(records)<EOL><DEDENT>for r in added_records:<EOL><INDENT>r._dev_activate_hooks()<EOL><DEDENT>for r in added_records:<EOL><INDENT>r._dev_activate_links()<EOL>r._dev_activate_external_files()<EOL><DEDENT>
!! Must only be called once, when empty !!