I have looked at a couple of others SO questions such as this but my problem isn't compatible.
I have an List<LatLng> called fireHazardsList that I would like to convert into a JSON string. A LatLng object has a float latitude, longitude. I am trying to use JsonConvert.SerializeObject to convert my List into a JSON string but currently my JSON is empty when this code is run.
LatLng is a class found in Xamarin Android.Gms.Maps.Model;
fireHazardsList = new List<LatLng>();
populateHazardList();
string coordinates = JsonConvert.SerializeObject(fireHazardsList, Formatting.Indented);
I am surely missing a step, but I am new to JSON and unsure what I am missing. Currently the JSON string I am being returned is like this:
[{},{},{}]
Here is a screenshot showing that my list is being populated just before the SerializeObject() function is called.

LatLngclassLatLngclass ?