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

FromJson() static private méthode

static private FromJson ( System.Json.JsonObject json ) : ThemeDotDensity
json System.Json.JsonObject
Résultat ThemeDotDensity
        internal static ThemeDotDensity FromJson(JsonObject json)
        {
            if (json == null) return null;
            ThemeDotDensity dotDensity = new ThemeDotDensity();
            dotDensity.DotExpression = (string)json["dotExpression"];
            dotDensity.Style = ServerStyle.FromJson((JsonObject)json["style"]);
            dotDensity.Value = (double)json["value"];
            return dotDensity;
        }