object DeserializeConfiguration(String json)
Given a JSON string representation of a property editor configuration, convert it to the object expected by the property editor.
String SerializeConfiguration(object config)
Convert a property editor configuration into a JSON string, so that it can be utilised by Converge.
public class MyConfigurationSerializer : IConfigurationSerializer { public object DeserializeConfiguration(string json) { var config = JsonConvert.DeserializeObject<MyPropertyEditorConfiguration>(json); return config; } public string SerializeConfiguration(object config) { return JsonConvert.SerializeObject(config); } }