sm.json.open

Opens a json file and parses to Lua table.

Kind: Function

Environments: Game, Terrain

Game

sm.json.open( path )

Open the full Game reference

Parameters:

Name Type Description
path string The json file path.

Returns:

Type Description
table The table.

Terrain

sm.json.open( path )

Open the full Terrain reference

Parameters:

Name Type Description
path string The json file path.

Returns:

Type Description
table The table.