Package edu.isi.pegasus.planner.dax
Class File.JsonSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- edu.isi.pegasus.planner.common.PegasusJsonSerializer<File>
-
- edu.isi.pegasus.planner.dax.File.JsonSerializer
-
-
Constructor Summary
Constructors Constructor Description JsonSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(File f, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider sp)
Serialize a File into YAML representation-
Methods inherited from class edu.isi.pegasus.planner.common.PegasusJsonSerializer
writeArray, writeNumberField, writeStringField, writeStringField
-
-
-
-
Method Detail
-
serialize
public void serialize(File f, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider sp) throws java.io.IOException, java.lang.UnsupportedOperationException
Serialize a File into YAML representation- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<File>
- Parameters:
f
- File objectgen
- json generatorsp
- serialization provider- Throws:
java.io.IOException
- exceptionjava.lang.UnsupportedOperationException
- exception
-
-