- @JsonAnySetter
- public void anySetter(String key, Object obj) {
- if (obj != null)
- log.info("anySetter: " + key + "=" + obj + " (" + obj.getClass()
- + "), natureType=" + type);
- }
-
- @JsonCreator
- public static Object valueOf(String str) {
- log.info("create: " + str);
- return new UserNature();
- }
+// @JsonAnySetter
+// public void anySetter(String key, Object obj) {
+// if (obj != null)
+// log.info("anySetter: " + key + "=" + obj + " (" + obj.getClass()
+// + "), natureType=" + type);
+// }