Clackwork

Villager
Member
Joined
Jul 24, 2021
Messages
12
Reaction score
1
First Language
English
Primarily Uses
RMMV
This is a really stupid question, but I have a dumb syntax error about a JSON's position 2 and I was wondering: is that horizontal or vertical?

Like for example:

AB
CD

In this thing, would C be position two, or would B be position 2?

Thanks in advance.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,211
Reaction score
1,176
First Language
English
Primarily Uses
RMMV
The position is the byte within the file. How that's displayed depends on what editor you're using to view the JSON, but typically we read from left to right then downwards, so your example would be:
01
23

There are editors intended for JSON that will give you search commands to go to the specific position indicated by the error message. Or just double check the string you're feeding into it, that you don't have an extra quote or something else not allowed by the standard.
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,500
Reaction score
1,728
First Language
Dutch
Primarily Uses
RMMV
you can also screenshot your json file to see where it went wrong,
or what you miss, as well for the function you use.

it can help narrow down the issue for you.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,688
Reaction score
15,295
First Language
English
Primarily Uses
RMMV
What is the exact error? There are some common ones, especially if you're using plugins.

My initial guess, without having any more information, is that you've made a mistake in a notebox somewhere.
 

Latest Threads

Latest Posts

Latest Profile Posts

Finally got my website fixed and the security sorted so it's been a productive day. Can I go to sleep now? I mean... I don't need to work right?
It's always a good idea to refresh yourself on what your plugins do. I'm working on a map with opening walls, and I was about to tear my hair out over how much image editing and hand-constructing of autotiles I'd have to do, when I looked again and saw @Shaz 's Tile Changer could copy areas from another map.
"sorry it took me so long to respond" - can we please agree not to say that anymore unless it actually took a long time?! (Like 36hrs at least) I mean, I'm running out of funny responses here xD
Ugh... 4:53AM over here and I can't sleep so why not just game make.
I just love the MV feature that allows you to create your own animations!

Forum statistics

Threads
115,919
Messages
1,094,016
Members
151,174
Latest member
sardin
Top