Yesterday, 12:34 PM
(This post was last modified: Yesterday, 12:35 PM by MKMurphy.
Edit Reason: seperate code from paragraph more
)
Hi All,
I've had a syntax error for a while now and I've checked everything but I cannot get past it:
"Expecting property name enclosed in double quotes: line 14 column 1 (char 507)".
JSON validator says the code's ok, claude.ai has no idea what it is. I've also checked my responses and stimuli and they are fine which makes sense because they have been saved. I'm trying to preview a particular part of my study so I'm presuming the issue is in my trial template because line 14 of the procedure is commented out. Trial template code is provided below with line number (including '.') to the left for reference:
1. {
2. "Opening": {
3. "type": "basic",
4. "stimuli": [
5. [
6. "Image",
7. "Welcome"
8. ]
9. ]
10. },
11. "Einverständniserklärung": {
12. "type": "basic",
13. "stimuli": [
14. "Einverständniserklärung"
15. ]
16. }, // comma here as there is more code after this section
There were different stimuli in line 14 before I placed the code in a JSON validator and still, however, the error is line 14.
Thanks in advance for any help.
I've had a syntax error for a while now and I've checked everything but I cannot get past it:
"Expecting property name enclosed in double quotes: line 14 column 1 (char 507)".
JSON validator says the code's ok, claude.ai has no idea what it is. I've also checked my responses and stimuli and they are fine which makes sense because they have been saved. I'm trying to preview a particular part of my study so I'm presuming the issue is in my trial template because line 14 of the procedure is commented out. Trial template code is provided below with line number (including '.') to the left for reference:
1. {
2. "Opening": {
3. "type": "basic",
4. "stimuli": [
5. [
6. "Image",
7. "Welcome"
8. ]
9. ]
10. },
11. "Einverständniserklärung": {
12. "type": "basic",
13. "stimuli": [
14. "Einverständniserklärung"
15. ]
16. }, // comma here as there is more code after this section
There were different stimuli in line 14 before I placed the code in a JSON validator and still, however, the error is line 14.
Thanks in advance for any help.