toJSON 
  The toJSON() method of the GeolocationCoordinates interface is a serializer; it returns a JSON representation of the GeolocationCoordinates object.
The toJSON() method of the GeolocationCoordinates interface is a serializer; it returns a JSON representation of the GeolocationCoordinates object.