jamesmontemagno / monkey-cache

Easily cache any data structure for a specific amount of time in any .NET application.
MIT License
670 stars 106 forks source link

Compatibility with Unity #121

Closed knordb closed 6 months ago

knordb commented 1 year ago

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

jamesmontemagno commented 1 year ago

Hmmmmmm could you try to install https://www.nuget.org/packages/System.Text.Json