scorefile_to_json_dictionary¶
-
visualife.serverside.scorefile_to_json_dictionary(score_file_data, **kwargs)¶ Reads data in scorefile format and returns it as a dictionary
Parameters: - score_file_data – score file data: ScoreFile object, file name to load a score file or the actual data as a multiline string / bytes
- kwargs – configure what to send, see below
Keyword Arguments: - send_rows (
bool) – ifTrue(which is the default), data will be stored row-wise; note that setting alsosend_columns=Truewill send the data both as rows and columns - send_columns (
bool) – ifTrue(which is the default), data will be stored column-wise; note that setting alsosend_rows=Truewill send the data both as rows and columns - relevant_only (
bool) – ifTrue(which is the default), irrelevant columns will be removed - selected_columns (
list[string]) – list of requested column names to be included in the output; all other columns will be discarded
Returns: a json-like dictionary that holds the silent file data