You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
321 B
19 lines
321 B
///strict_init(data file)
|
|
|
|
/*
|
|
Read dictionary file
|
|
*/
|
|
|
|
globalvar _strict_data;
|
|
|
|
var json_data = "";
|
|
|
|
var f = file_text_open_read(argument0);
|
|
while (!file_text_eof(f)) {
|
|
json_data += file_text_read_string(f);
|
|
file_text_readln(f);
|
|
}
|
|
file_text_close(f);
|
|
|
|
_strict_data = json_decode(json_data);
|