Append Mode in Json

Can i Use a+ mode in json? I want to use because my data’s are getting overlap

@sriv.ansh

Have you tried using it?

yess but I’m getting error in json

@sriv.ansh

No you cannot use a+ mode because when you are using a+ mode the file pointer is at the last and after that we can’t read anything so because of that we will get jsondecodeerror.

@dsedyoda Ohkk Thank You Mam

1 Like