Skyline Lua API  Version 1.0 RC1
Lua Script Reference for Skyline Game Engine.
LUA_API_JSON.h
Go to the documentation of this file.
1 // | _ ____ __ _
2 // | / \ _ _ _ __ __ _/ ___| ___ / _| |_
3 // | / _ \| | | | '__/ _` \___ \ / _ \| |_| __|
4 // | / ___ \ |_| | | | (_| |___) | (_) | _| |_
5 // | /_/ \_\__,_|_| \__,_|____/ \___/|_| \__|
6 // |
7 // | Aurasoft UK 2008 - 2016 http://www.aurasoft.co.uk
8 // |
9 // | Skyline Game Engine Lua API Documentation
10 // |
11 // | This file belongs to Aurasoft UK for the Skyline Game Engine of all versions.
12 // | This file is not for use in any other software that is not owned by Aurasoft UK and cannot be used by any other
13 // | person outside of the Skyline Game Engine development team.
14 // |
15 // | © Copyright - Aurasoft UK & Skyline Game Engine 2008 - 2016
16 // |
17 
18 // SKYLINE LUA CLASS FOR API DOCUMENTATION
19 
85 class json
86 {
87 public:
88 
102  jsonObj = rapidjson.object(myTable);
103 
104 
105 
123  void rapidjson.dump(jsonObj, "myfile.json", {pretty=true});
124 
125 
143  myTable = rapidjson.load("E:/myfile.json");
144 
145 
146 
147 
148 
149 
150 };
Definition: LUA_API_JSON.h:85
jsonObj
rapidjson.object(myTable)
Definition: LUA_API_JSON.h:102
myTable
rapidjson.load loads a file to a LUA table.
Definition: LUA_API_JSON.h:143