Boop icon indicating copy to clipboard operation
Boop copied to clipboard

Invalid JSON in script headers

Open mortie opened this issue 3 years ago • 0 comments

I noticed that a lot of the scripts in the Scripts/ folder actually contain invalid JSON. These files contain a trailing comma which is disallowed by JSON:

  • Scripts/FullURLDecode.js
  • Scripts/FullURLEncode.js
  • Scripts/TrimEnd.js
  • Scripts/TrimStart.js
  • Boop/Boop/Boop/Trim.js

I don't know if Swift's JSON decoder allows this, but I feel like the headers should probably be valid JSON?

mortie avatar Jul 03 '21 21:07 mortie