applejag / Newtonsoft.Json-for-Unity

Newtonsoft.Json (Json.NET) 10.0.3, 11.0.2, 12.0.3, & 13.0.1 for Unity IL2CPP builds, available via Unity Package Manager

Home Page:https://github.com/jilleJr/Newtonsoft.Json-for-Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How big is this package - I have a webgl and need to save space where possible.

McSwan opened this issue · comments

How big is this package - I have a webgl and need to save space where possible.

Hello @McSwan. Good question, I haven't really considered it.

The Newtonsoft.Json.dll binary is 615 KB large, so the impact on the final build's size would probably be around that size. Although, IL2CPP (the compiler that's used in WebGL builds) does strip away all debug symbols, so it might be smaller.

Could you try build your project with and without this package, and compare the sizes of the artifacts? Now I'm curious

Thanks for the info - if I get a some time I'll run a test.