mojira.dev
MC-84141

Title and Tellraw command always saying 'Invalid json: malformed JSON at line 1 column 3

My computer is a hp windows,windows 8.1,me and my friend tried the title and tellraw command the without any mistakes it supposed to work but it is not working sadly and I wanted to make an adventure map called "The Oblivion"

Linked issues

Comments 13

Erik Broes

try:

{"text": "here your text instead"}
user-f2760

The thing is, most people already used

{text:"text here"}

and it breaks all maps that use this 😞

Warren Liddell
tellraw @a {"text":"","extra":[{"text":"[Matrix Server] ","color":"dark_red","italic":"false"},{"text":"Welcome ","color":"dark_green","italic":"true"},{selector:"@a[team=]"}]}

produces the same error( line 1 column 14) as

tellraw @a {"text": "" ,"extra":[{"text": "[Matrix Server] ","color":"dark_red","italic":"false"},{"text": "Welcome ","color":"dark_green","italic":"true"},{selector:"@a[team=]"}]}

is there any documentation about the changes done with tellraw//json scripting?

user-f2760

Grum, can you please reconsider this issue? if it isn't changed back, a lot of maps can break

Skylinerw

This also provides inconsistent behavior compared to other features that use the JSON text component. Signs, for example, aren't strict:

/setblock ~ ~1 ~ minecraft:standing_sign 0 replace {Text1:"{text:lenient,color:blue}"}

And books:

/give @p minecraft:written_book 1 0 {title:"",author:"",pages:["{text:lenient,color:blue}"]}
3 more comments
Warren Liddell
/title @a title [{"text":"This is also a title"}]

is an Example of title that works

/tellraw @a [{x=86,y=77,z=538,r=1,"text":"hello"}]

is an example of tell raw that works, you can also skip specifying the xyz and r an just input the numbers

The book code i had form 1.8 works perfectly fine an ive not had to make any changes

user-f2760
/tellraw @a [{x=86,y=77,z=538,r=1,"text":"hello"}]

I think you're using it wrong, I think you want players in a 1 block radius of x=86 y=77 and z=538 to see the text "hello"

You need to use

/tellraw @a[x=86,y=77,z=538,r=1] {"text":"hello"}

then

yander wijnants

Yhe i have the same problem pls fix this 🙂

Anthony Nosoff

Invalid json: malformed JSON at line 1 column 3 is showing up again all the time in Minecraft 1.10! Please fix this.

Ryan Blair

To display titles in 1.10, you have to put speech marks around almost everything
For example,

/title @a title {"text": "Hello!", "bold":"true", "italic":"true", "color":"red"}

Hope this solves the problem - It worked for me!

Sanj Ram

(Unassigned)

Unconfirmed

Minecraft 15w31b

Retrieved