I believe Newtonsoft package for json is more prefered for Unity developers as Newtonsoft is adopted by Unity. However, System.Text.Json isn't.
error CS0012: The type 'JsonSerializerOptions' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Text.Json, Version=6.0.0.0, Culture=neutral
I believe Newtonsoft package for json is more prefered for Unity developers as Newtonsoft is adopted by Unity. However, System.Text.Json isn't.
error CS0012: The type 'JsonSerializerOptions' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Text.Json, Version=6.0.0.0, Culture=neutral