Switch to a decent JSON library

This had better work.
This commit is contained in:
Oliver Marks 2018-10-04 17:10:59 +01:00 committed by GitHub
parent 0576be1d26
commit e5c2a6724f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
-- download JSON library
local a=http.get"https://pastebin.com/raw/djyFBXR3"local b=fs.open("json","w")b.write(a.readAll())a.close()b.close()
local a=http.get"https://raw.githubusercontent.com/rxi/json.lua/bee7ee3431133009a97257bde73da8a34e53c15c/json.lua"local b=fs.open("json","w")b.write(a.readAll())a.close()b.close()
os.loadAPI "json" -- whyyyyyy
local json = dofile "./json"
local skynet = {
server = "wss://osmarks.tk/skynet/connect/",