From the course: Unity 5: Build a Character Dialogue System

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Import the LitJSON library

Import the LitJSON library - Unity Tutorial

From the course: Unity 5: Build a Character Dialogue System

Start my 1-month free trial

Import the LitJSON library

- [Narrator] It's always good to work smart, not hard. So instead of using Unity's built in JSON parsing class called JSON Utility, we're going to use a third party library called LitJSON. Now, using LitJSON, we'll make unpacking nested arrays in our JSON much, much easier later on in the course. LitJSON is free to download. Just visit their homepage at lbv.GitHub.io/LitJSON. If you scroll down to the download section, you'll see that there's a latest release. For me, it's version 0.9.0. Next to that, you'll see the DLL call out. Click on that link and download the DLL package. Once this is downloaded, open it up in finder, and drag and drop it into Unity, specifically into the Resources file we created in the last video. Unity might have to think for a second, once you drag and drop this into the Resources, but eventually, you should see the LitJSON DLL package. Go ahead and Command + S to save if you're on a Mac, or Control + S if you're on Windows. Whenever we want to use LitJSON…

Contents