SaladLab / Json.Net.Unity3D

Forked Newtonsoft.Json to support Unity3D
MIT License
918 stars 169 forks source link

I have a problem with SerializeObject #21

Open macrobin opened 7 years ago

macrobin commented 7 years ago

I want to serializeObject the type is int,

but why result is float?

like this int a = 1 the result is 1.0?

master-lincoln commented 7 years ago

To get an answer on this, a minimal example of the code you used for serialization would be helpful.