Make it not use clipboard because duh.

This commit is contained in:
Ottermandias 2024-01-18 00:59:53 +01:00
parent 593bb47241
commit 092e0ee30e
2 changed files with 7 additions and 43 deletions

View file

@ -49,30 +49,4 @@ public readonly struct CustomizeParameterValue
public override string ToString()
=> _data.ToString();
public string ToJson()
{
try
{
return JsonConvert.SerializeObject(_data, Formatting.None);
}
catch
{
return string.Empty;
}
}
public static bool FromJson(string input, out CustomizeParameterValue value)
{
try
{
value = new CustomizeParameterValue(JsonConvert.DeserializeObject<Vector4>(input));
return true;
}
catch
{
value = default;
return false;
}
}
}