using System.IO;
using Newtonsoft.Json; //import in csproj
string path = Application.streamingAssetsPath + "/Assets/ShipTypes.json";
string contents = File.ReadAllText(path);
ShipTypes shipTypes = JsonConvert.DeserializeObject<ShipTypes>(countriesData);