-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipsw dsc slide --json
produces invalid JSON
#423
Comments
What is the contents of the output file look like? |
|
So it's multiline JSON, where the This is because each line goes with a different DSC mapping. I usually filter the results w/ So you'd either include a preprocessing step to break it into several JSON files OR I could create multiple JSON files when the |
I mean, knowing it's JSONL makes this much less of a problem. I think maybe updating the help message to specifying the output is in JSONL format would probably be sufficient. |
…ings name it's a multi-line JSONL file #423
I pushed a commit that now names the file |
is in latest release |
What happened?
ipsw dsc --json
produces invalid JSON. In particular, it will have multiple record (two arrays).How can we reproduce this?
Split DSC:
ipsw dsc split --json -o /tmp /path/to/cache
Validate output with simple python script:
This will cause an error to occur:
ipsw version
Search
Code of Conduct
Additional context
Issue happened when using UniversalMac_14.4_23E214_Restore.ipsw,
The text was updated successfully, but these errors were encountered: