Package edu.isi.pegasus.planner.dax
Class MetaData.JsonSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- edu.isi.pegasus.planner.common.PegasusJsonSerializer<MetaData>
-
- edu.isi.pegasus.planner.dax.MetaData.JsonSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
- Enclosing class:
- MetaData
public static class MetaData.JsonSerializer extends edu.isi.pegasus.planner.common.PegasusJsonSerializer<MetaData>
Custom serializer for YAML representation of a MetaData k,v pair- Author:
- Ryan Tanaka
-
-
Constructor Summary
Constructors Constructor Description JsonSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(MetaData md, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider sp)
Serializes a MetaData object in to YAML representation-
Methods inherited from class edu.isi.pegasus.planner.common.PegasusJsonSerializer
writeArray, writeNumberField, writeStringField, writeStringField
-
-
-
-
Method Detail
-
serialize
public void serialize(MetaData md, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider sp) throws java.io.IOException
Serializes a MetaData object in to YAML representation- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<MetaData>
- Parameters:
md
- medata object being serializedgen
- the json generatorsp
- the serialization provider- Throws:
java.io.IOException
- IoException
-
-