About JSON NET package

i read about JSON .NET package
but if i want to just use the unity built in one is fine to?
since the data i save dont needs dictionaries and so,
is there any change in performance?
my level editor shines on its load speed
so if it also reduces the file size and improves te performance of deserialization, it would be super nice

It is fine to use the Unity builtin JsonUtility if that suits your needs. As far as performance goes, they will probably be similar. I’m not sure if anyone has done any benchmarking. In terms of file size, JSON.NET has more options around the formatting of the JSON and the names of fields etc. than the builtin version, so you could theoretically save some space through whitespace elimination, smaller field names etc. But overall since they’re both JSON they will be of very similar size.

1 Like

Cool thanks, thats good to know, and about the file extension, all json files should be .json, or could i change the termination to .hyperlevel for example, so the files seems easier to find for a player

The file extension doesn’t matter at all. You could use .hyperlevel if you want.

1 Like

Ohh thats cool thanks a lot for your help!