Package com.netcracker.profiler.io
Class HotspotToJson
java.lang.Object
com.netcracker.profiler.io.HotspotToJson
- All Implemented Interfaces:
JsonSerializer<Hotspot>
-
Constructor Summary
ConstructorsConstructorDescriptionHotspotToJson(Map<String, Integer> folder2id) HotspotToJson(Map<String, Integer> folder2id, int maxNestLevel) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.core.JsonGeneratorvoid
-
Constructor Details
-
HotspotToJson
-
HotspotToJson
-
-
Method Details
-
serialize
public void serialize(Hotspot value, com.fasterxml.jackson.core.JsonGenerator gen) throws IOException - Specified by:
serializein interfaceJsonSerializer<Hotspot>- Throws:
IOException
-
createSubSerializer
protected com.fasterxml.jackson.core.JsonGenerator createSubSerializer(Writer out) throws IOException - Throws:
IOException
-