API ReferenceAll TypesmodelJsonConvertermidiFileToJsObjectOn this pagemidiFileToJsObjectDescription​ Converts the given MidiFile object into a serialized JavaScript object. JavaScriptC#Kotlinstatic midiFileToJsObject(midi: MidiFile): Map<string, unknown>static Map<string, object> MidiFileToJsObject(MidiFile midi)fun midiFileToJsObject(midi: MidiFile): alphaTab.collections.StringAnyMap<String, Any> ParameterSummarymidiAllThe midi file to convert. Returns​ A serialized MidiFile object without ciruclar dependencies that can be used for further serializations.