I’ve tried various versions of System.Text.Json and both .Net 2.0 standard and .Net 4.x.
In Visual Studio I can add them in the NuGet package manager and the project will ‘Rebuild’ with no errors.
System.Text.Json
exists in my Assembly C-Sharp references just fine.
I go back to Unity and see compilation errors:
Assets\Scripts\JSONTest.cs(4,19): error CS0234: The type or namespace name 'Json' does not exist in the namespace 'System.Text' (are you missing an assembly reference?)
After switching back and forth a few times between Unity and Visual Studio I find the package System.Text.Json has now been removed from my Assembly reference.
No warning, no reason, just removed. I’ve tried 2020.1x and 2019.4x Unity versions, no difference.