|
|
@@ -473,19 +473,6 @@ void Device::create_lua_environment()
|
|
|
m_lua_environment->init();
|
|
|
|
|
|
Log::d("Lua environment created.");
|
|
|
-
|
|
|
-
|
|
|
- JSONParser json(m_allocator, "{\"asd\": 10, \"boot\":[1,2,3], \"boot2\": {\"asd\":10.0564}}");
|
|
|
-
|
|
|
- List<char> str(default_allocator());
|
|
|
-
|
|
|
- double num = json.root().number("asd");
|
|
|
-
|
|
|
- Log::i("num: %f", num);
|
|
|
-
|
|
|
- double arr = json.root().array("boot", 0).number();
|
|
|
-
|
|
|
- Log::i("arr: %f", arr);
|
|
|
}
|
|
|
|
|
|
void Device::create_console_server()
|