mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 23:39:51 +01:00
CA-266891: fixed issue where enum properties were not serialised correctly.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
bcab8a5c6c
commit
2ff121fb55
@ -264,11 +264,6 @@ namespace XenAPI
|
||||
|
||||
internal class XenEnumConverter : StringEnumConverter
|
||||
{
|
||||
public override bool CanWrite
|
||||
{
|
||||
get { return false; }
|
||||
}
|
||||
|
||||
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
|
||||
{
|
||||
JToken jToken = JToken.Load(reader);
|
||||
|
Loading…
Reference in New Issue
Block a user