internal static object ScriptObjectJsonDeserialize(string json) { Debug.Assert(s_deserializeFunc != null); return(Globals.s_deserializeFunc(json)); }
public Globals.MapPlotDataObject[] GetMapPlottingObjects(Globals.MapPlotRequestDataObject mapPlotFilter) { _presenter = new JSONServicePresenter(this); MapPlottingFilter = mapPlotFilter; _presenter.GetMapPlottingObjects(); if (null != MapPlottingObjectsList) { Globals.MapPlotDataObject[] returnList = new Globals.MapPlotDataObject[MapPlottingObjectsList.Count]; for (int i = 0; i < MapPlottingObjectsList.Count; i++) { returnList[i] = new Globals.MapPlotDataObject() { Latitude = MapPlottingObjectsList[i].Latitude, Longitude = MapPlottingObjectsList[i].Longitude, Type = MapPlottingObjectsList[i].Type, Description = MapPlottingObjectsList[i].Description, Name = MapPlottingObjectsList[i].Name }; } return returnList; } else return null; }
internal static string ScriptObjectJsonSerialize(object obj) { Debug.Assert(s_serializeFunc != null); return(Globals.s_serializeFunc(obj)); }