public static void Main()
var json = @"{""struct"":""BLUB""}";
var test = JsonConvert.DeserializeObject<Test>(json);
Console.WriteLine(JsonConvert.SerializeObject(test));
[JsonProperty(PropertyName = "struct")]
public TestStruct Struct {get;set;}
public static implicit operator TestStruct(string val)
return new TestStruct(val);
public TestStruct(string val)