This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/CountDhoun on 2024-10-10 17:59:58+00:00.


I’m trying to parse a handful of very long JSON files…but they have comments in them that are throwing an unexpected character error.

I’ve been searching around, but haven’t been able to find anything regarding removing or skipping over comments inside of Godot.

Has anyone ever run into this and/or have a solution?

Edit: I think I got it sorted. I took the advice to import it as a string, delete the rows needed, and then parse it. I was expecting it to be slow, but it’s quite quick and seems to be working fine. Thanks for all the replies everyone!