1st December 2011

Link with 4 notes

Updated MiniJSON Script →

MiniJSON.cs

Ages ago I found a script for encoding and decoding JSON and popped it up on the Unity forums. Wasn’t great, but it did the job. Yesterday I took a look at it and spotted a bunch of ways it could be cleaned up and optimized.

Even though I still recommend using JsonFX, MiniJSON can still be useful for situations where you just want something really simple (Array, Dictionary, etc.) encoded and decoded and size is a consideration.

Careful though, this script has changed a lot, so it isn’t a drop-in replacement for the old version.

Tagged: CSharpJSONUnity3Dgamedev

()

  1. darktable posted this