Batch.Internal.JsonDataExtensions.HasKey C# (CSharp) Method

HasKey() public static method

public static HasKey ( this jsonData, string key ) : bool
jsonData this
key string
return bool
        public static bool HasKey(this JsonData jsonData, string key)
        {
            try
            {
                return jsonData[key] != null;
            }
            catch
            {
                return false;
            }
        }