It actually appears that this is the debugger display limit, not the actual request limit. I'll keep digging. I've tried splitting into 26 smaller JSON files but only the first will load. I use the following events:
On Start of Layout:
Request A.json(tag "load_A")
On "load_A" Completed:
Dictionary Load from JSON string AJAX.LastData
Request B.json(tag "load_B")
On "load_B" Completed:
Dictionary Load from JSON string AJAX.LastData
Request C.json(tag "load_C")
Etc.
This will load the content of the first request "load_A" into the dictionary. The AJAX call is returning the latest data, in this case, "load_C". But the data from "load_C" does not get added to Dictionary. I've tried this with separate dictionaries and same behavior. Am I overlooking something obvious here?
You should post an exert of your A.json and C.json files, mainly the beginning of the file and the end of the file.
The dictionary structure in Construct has its own output in JSON.
Consider this small sample :
{
"c2dictionary": true,
"data": {
"0": "a",
"1": "b",
"2": "c",
"3": "d",
"4": "e",
"5": "f",
"6": "g"
}
}
This is the content of a dictionary which holds 7 values.
The
{
"c2dictionary": true,
"data": {
}
}
is the embedding structure and is expected by the dictionary to load in values appropriately.
Each of your files should contain this structure.
Also, if you load your files within the same dictionary object/instance, only the last loaded file data should end up being visible, as the previous data were "overwritten".