Is the Json.NET JsonSerializer threadsafe?

Inspecting the code it appears that the serialization and deserialization methods are threadsafe, as long as you don’t change any settings on the object at the same time.

Correct, JsonSerializer is threadsafe.

No state is shared while serializing but if you change a setting on the JsonSerializer while in the middle of serializing an object then those will automatically be used.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)