def from_json(json_text): ''' :param str json_text: ''' variable_metadata_list= VariableMetadata.import_json(json_text) spss_syntax_string= VariableMetadata.export_spss_syntax(variable_metadata_list) return spss_syntax_string
def from_dicts(variable_labels_dict, value_labels_dict): variable_metadata_list= VariableMetadata.import_dicts(variable_labels_dict, value_labels_dict) spss_syntax_string= VariableMetadata.export_spss_syntax(variable_metadata_list) return spss_syntax_string