SuperMap.Web.iServerJava6R.Projection.FromJson C# (CSharp) Méthode

FromJson() static private méthode

static private FromJson ( System.Json.JsonObject json ) : Projection
json System.Json.JsonObject
Résultat Projection
        internal static Projection FromJson(JsonObject json)
        {
            if (json == null)
            {
                return null;
            }

            return new Projection
            {
                Name = (string)json["name"],
                Type = (ProjectionType)Enum.Parse(typeof(ProjectionType),
                (string)json["type"], true)
            };
        }