static public string MusicJson(string musicid) { var api = new NeteaseMusicAPI(); var apires = api.Search(musicid.ToString(), 1); IList <Music_info> muscis = new List <Music_info>(); var art = new ArtistResult(); musicplay music = new musicplay(); i++; music.id = i; music.song = apires.Result.Songs[0].Name; music.singer.name = apires.Result.Songs[0].Ar[0].Name; music.time = apires.Result.Songs[0].PublishTime.ToString(); music.words = api.Lyric(apires.Result.Songs[0].Id).Lrc.Lyric; music.src = api.GetSongsUrl(new long[] { apires.Result.Songs[0].Id }).Data[0].Url; music.img = apires.Result.Songs[0].Al.PicUrl; music.album = apires.Result.Songs[0].Al.Name; var a = api.Lyric(apires.Result.Songs[0].Id); string output = JsonConvert.SerializeObject(music); return(output); }