You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the index.json file from inside https://tldr-pages.github.io/assets/tldr.zip, and my app occasionally fails to parse the file.
Last week, I was converting the JSON to the Swift type Dictionary<String, Array<Dictionary<String, AnyObject>>>, which implied that the file format was something like this:
But then it stopped working. I needed to change it to Array<Dictionary<String, AnyObject>> because it was getting this JSON inside the zip:
[{"name":"7za","platform":["common"]}]
And this morning (sometime around 9am UTC) it changed back.
Is this an expected thing? Seems strange to me.
(Confirmation: I've been testing the app on several iOS simulators, and each one has a separate directory for storing documents. Sure enough, the ones I tested last night have an array as the root object. This morning I'm seeing a dictionary/map as the top level object, with a "commands" key.)
The text was updated successfully, but these errors were encountered:
Forgive me, I think I'm going mad.
I'm getting the
index.json
file from insidehttps://tldr-pages.github.io/assets/tldr.zip
, and my app occasionally fails to parse the file.Last week, I was converting the JSON to the Swift type
Dictionary<String, Array<Dictionary<String, AnyObject>>>
, which implied that the file format was something like this:But then it stopped working. I needed to change it to
Array<Dictionary<String, AnyObject>>
because it was getting this JSON inside the zip:And this morning (sometime around 9am UTC) it changed back.
Is this an expected thing? Seems strange to me.
(Confirmation: I've been testing the app on several iOS simulators, and each one has a separate directory for storing documents. Sure enough, the ones I tested last night have an array as the root object. This morning I'm seeing a dictionary/map as the top level object, with a "commands" key.)
The text was updated successfully, but these errors were encountered: