public string ConvertMyListToJson(IMyAnimeList animeList) { var retList = _factory.CreateJsonAnimeList(); _mappingEngine.Map(animeList, retList); var jsonString = JsonConvert.SerializeObject(retList); return jsonString; }
public string ConvertMyListToJson(IMyAnimeList animeList) { var retList = _factory.CreateJsonAnimeList(); _mappingEngine.Map(animeList, retList); var jsonString = JsonConvert.SerializeObject(retList); return(jsonString); }