namespace OpenNest
{
///
/// A configurable post whose settings travel as JSON, so a host can keep them somewhere other
/// than the post's own file (the nest server's shared copy, for one).
///
public interface IJsonConfigPostProcessor : IConfigurablePostProcessor
{
/// The settings as the post's own file holds them.
string SerializeConfig();
///
/// Replaces the settings with , in the post's file format; the
/// file itself is not written. Throws and
/// keeps the current settings when the JSON is not usable.
///
void LoadConfig(string json);
}
}