Valid JSON in JSLint, but Invalid for Firebase Import.

1,450 views
Skip to first unread message

sasong...@gmail.com

unread,
Apr 3, 2018, 10:49:01 PM4/3/18
to Firebase Google Group
Hey folks!

I can't seem to figure out what's wrong with my json that I'm attempting to import into my database for a project. The error message I'm getting is: Invalid JSON data or key values. Key values can’t contain $ # [ ] / or .  

After some googling I've tried a handful of potential solutions, but nothing has worked;
All of my key names seem to fit the bill, I've encoded it as UTF-8, some of my key values are very long strings but that shouldn't be a problem?, I've checked the syntax myself as well as had JSONLint validate it. 

I've attached the .json file to this post. Any ideas would be greatly appreciated. Thanks for your attention and time!
factoidjson1.json

Frank van Puffelen

unread,
Apr 3, 2018, 10:51:16 PM4/3/18
to Firebase Google Group
You seem to have some empty keys, e.g. "": {}

UWB,IMD Sason, Climate Change

unread,
Apr 4, 2018, 8:48:41 PM4/4/18
to fireba...@googlegroups.com
Ohhhhhh Thanks frank!

Sincerely,


SASON - IMD Senior Capstone Climate Group

(Sandra Le, Alan Ngo, Seng Ngor, Oliver Lechuga, Neeko Blomgren)

Interactive Media Design Program

sasong...@gmail.com

206-257-8765 [Neeko Blomgren]


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/90985662-88ff-4719-a7ea-41e99bc8dda9%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages