Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LUA Tables to JSON #34

Open
baluballa opened this issue Oct 18, 2016 · 4 comments
Open

LUA Tables to JSON #34

baluballa opened this issue Oct 18, 2016 · 4 comments

Comments

@baluballa
Copy link

baluballa commented Oct 18, 2016

Since JSON is a more common dataformat (generally speaking), is it possible to add export LUA table to JSON feature to MIST?

@mrSkortch
Copy link
Owner

I've never used JSON and a quick search showed there are similarities between lua and json. There is a json library in the game but it appears to be utilized by the mission editor and is not accessible to the mission scripting environment. So I'd have to write my own or use someone else's encoder and put it directly in mist. For the sake of statement, if you are wanting to use a JSON table in an external program then you should be able to convert an exported lua table to JSON.

@baluballa
Copy link
Author

baluballa commented Oct 19, 2016

Plan was to import into MySql DB using REST/CRUD. I don't know LUA, but guess I can figure it out. I also believe you can use JSON in google maps. Thanks anyway!

@ZAZOU82
Copy link

ZAZOU82 commented Dec 7, 2016

Hi from a frenchie! ;)
I'm very interested to export databases into a MySQL table or export them into an html table. Stay tuned for issues.
@mrSkortch FYI I love your project! <3

@ozdeadmeat
Copy link

I am already exporting deepcopy tables to JSON @baluballa , I know this is 10000 years old but its pretty easy to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants