JSON::XS is faster than JSON::PP. While it doesn't matter for webkitdirs' own use, where JSONs are tiny, other scripts that import webkitdirs.pm do care.
Created attachment 442544 [details] proposed patch It's intentional that the script doesn't die if import fails - there is a lot of functionality that doesn't require JSON, so it's better to not break everything even in the super unlikely case that JSON::PP cannot be loaded.
Comment on attachment 442544 [details] proposed patch rme
Committed r284922 (243593@main): <https://commits.webkit.org/243593@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442544 [details].
<rdar://problem/84710691>