
kr.jm.metric.mutator.JsonMutator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jm-metric Show documentation
Show all versions of jm-metric Show documentation
FieldMap Transformer From Various Formatted Data
package kr.jm.metric.mutator;
import kr.jm.metric.config.mutator.JsonMutatorConfig;
import kr.jm.utils.helper.JMJson;
import lombok.ToString;
import java.util.Map;
@ToString(callSuper = true)
public class JsonMutator extends
AbstractMutator {
public JsonMutator() {
this(new JsonMutatorConfig("JsonMutator"));
}
public JsonMutator(JsonMutatorConfig jsonMutatorConfig) {
super(jsonMutatorConfig);
}
@Override
public Map buildFieldObjectMap(String targetString) {
return JMJson.toMap(targetString);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy