Difference between revisions of "Jupiter"

m (Pimp'd)
m (Adding keyword.)
Line 23: Line 23:
 
{{#set:LOVE Version=0.8.0}}
 
{{#set:LOVE Version=0.8.0}}
 
{{#set:Description=Table serialisation and file io.}}
 
{{#set:Description=Table serialisation and file io.}}
 +
{{#set:Keyword=Serializing}}
 
[[Category:Libraries]]
 
[[Category:Libraries]]

Revision as of 12:21, 18 January 2017

Jupiter is a file io and table serialisation library written by Lafolie.

Usage

Designed to be easy to use, Jupiter takes a table structure and saves it to a file. You can edit these files in your favourite text editor, or even write them from scratch, and re-load them into your project at a later date.

A simple implementation looks like this:

jupiter = require "jupiter"

--setup a table
data = {_fileName = "example.txt", "Save this string!"}
--write the file (Jupiter handles filenames by referring to data._fileName)
success = jupiter.save(data)
--load another file into a table
newData = jupiter.load("filename.extension")

Get Jupiter

You can download the script from Jupiter on github