Urgent.News

What's breaking now, across thousands of outlets.

More in AI

Why Your JSON Fails to Parse: Zero-Width Spaces Copied from ChatGPT

You ask ChatGPT for a config snippet. You copy it, paste it into your editor, and compare it with the file that works. The two look identical, character for character. Then you run it.

  • Zero-width spaces copied from AI chat cause JSON parsing failures.
  • Different zero-width characters affect Node and Python parsing.
  • Cleaning text preserves ZWJ between emojis for family emojis.

More from Saturday 17 October →