Config.toJSON added

pull/382/head
Nikita 9 years ago
parent 4762e19730
commit 17d9a71a43

@ -399,6 +399,12 @@ public class Config {
return support.fromJSON(reader);
}
/**
* Convert current configuration to JSON format
*
* @return
* @throws IOException
*/
public String toJSON() throws IOException {
ConfigSupport support = new ConfigSupport();
return support.toJSON(this);

Loading…
Cancel
Save