JSON input
Paste JSON, optionally name the root type, then generate.
Your Lua table code will appear here.
Convert JSON into Lua table constructors. Get an annotated sample table with EmmyLua type comments inferred from your JSON structure.
Paste JSON, optionally name the root type, then generate.
Your Lua table code will appear here.
Lua has one data structure: the table. The generator converts your JSON into a table constructor with real example values, so you can paste it directly as config data or a test fixture.
Lua itself is dynamically typed, but EmmyLua annotations give editors the information to check your code. The generated comments describe each field's inferred type.