Requires
- module:song
- module:ablauf
- module:fs
Methods
(static) ablauf2JSON(file, callback)
Read in Ablaufplan-File and callback a json
Parameters:
| Name | Type | Description |
|---|---|---|
file |
string | Path to a Ablaufplan-File |
callback |
index~jsonAblaufCallback | A Callback with an error or the Json |
Returns:
Nothing
(static) json2Ablauf(object, file, callback)
Read in JSON, Write to File and callback possible Errors
Parameters:
| Name | Type | Description |
|---|---|---|
object |
object | A JSON-Ablaufplan-Object |
file |
string | Path to an Ablaufplan-File |
callback |
index~errorCallback | A Callback with an error or nothing |
Returns:
Nothing
(static) json2Song(object, file, callback)
Read in JSON, Write to File and callback possible Errors
Parameters:
| Name | Type | Description |
|---|---|---|
object |
object | A JSON-Song-Object |
file |
string | Path to a Song-File |
callback |
index~errorCallback | A Callback with an error or nothing |
Returns:
Nothing
(static) song2JSON(file, callback)
Read in Song-File and callback a json
Parameters:
| Name | Type | Description |
|---|---|---|
file |
string | Path to a Song-File |
callback |
index~jsonSongCallback | A Callback with an error or the Json |
Returns:
Nothing