XBOT-FTC / FTC-Scouting-App

MIT License
0 stars 1 forks source link

serialize json string #13

Closed NormalDuck closed 1 week ago

NormalDuck commented 1 week ago

with lz-string we could compress the original JSON string (429) characters into 129 characters with UTF16 character compression. Statistics can be shown here. There is a tiny problem that will not affect us much is this library sucks at compressing strings when the string is short, it will make the string longer than original. However, since our JSON string are usually longer, the serialization can be benefited from this library.