public static int AddArray_s(IntPtr l) { int result; try { JsonObject j; LuaObject.checkType <JsonObject>(l, 1, out j); string key; LuaObject.checkType(l, 2, out key); JsonArray o = JsonUtility.AddArray(j, key); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }