com.litongjava.tio.utils.json.JsonManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tio-utils Show documentation
Show all versions of tio-utils Show documentation
t-io is a aio framework for java
package com.litongjava.tio.utils.json;
/**
* JsonManager.
*/
public class JsonManager {
private static final JsonManager me = new JsonManager();
private JsonManager() {
}
public static JsonManager me() {
return me;
}
public void setDefaultJsonFactory(IJsonFactory defaultJsonFactory) {
Json.setDefaultJsonFactory(defaultJsonFactory);
}
public void setDefaultDatePattern(String defaultDatePattern) {
Json.setDefaultDatePattern(defaultDatePattern);
}
}