Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

philip-peterson/jsonparse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

JSONParse.js

What?

It's a library for parsing JSON, using UnityScript (the programming language used in Unity).

Demo

var dataString = "{\"name\": \"Bob\", \"age\": 22, \"hobbies\": [\"biking\", \"fishing\", \"swimming\"]}";

var parsed = JSONParse.JSONParse(dataString);


print("The person's name is " + parsed["name"] + ", and he is " + parsed["age"].ToString() + 
       ". \n\n His hobbies: " + String.Join(", ", parsed["hobbies"]) + "." );

About

A JSON Parsing library for UnityScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published