Chnage state in JSON file : I have trouble in school to change a state in my json file,
i must do a game with HTML and javascript, i start with a "Guess who?" game, in my json i have players with attributs like name,password and state.
all my request only look the number of state and change it if he must.
how i can write a code that change only player.state like 1 to 3 ?
thanks

this is my json file :
`[
	{"pseudo":"player1","password":"player","state":"1"},
	{"pseudo":"player2","password":"player","state":"0"}
]
`