SuperMap.Web.ISDotNET6.ThemeResult.FromJson C# (CSharp) Method

FromJson() public static method

${IS6_ThemeResult_method_FromJson_D}
public static FromJson ( JsonPrimitive jsonPrimitive ) : ThemeResult
jsonPrimitive System.Json.JsonPrimitive ${IS6_ThemeResult_method_FromJson_param_jsonObject}
return ThemeResult
        public static ThemeResult FromJson(JsonPrimitive jsonPrimitive)
        {
            if (jsonPrimitive == null)
            {
                return null;
            }

            ThemeResult result = new ThemeResult();

            result.LayerKey = jsonPrimitive;

            return result;
        }