public class GeppettoSerializer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
GeppettoSerializer.GeppettoCustomTypeSerializer |
Modifier and Type | Field and Description |
---|---|
private static GeppettoSerializer.GeppettoCustomTypeSerializer |
customTypeSerializer |
private static Log |
logger |
Constructor and Description |
---|
GeppettoSerializer() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
serializeToJSON(EObject toSerialize) |
static java.lang.String |
serializeToJSON(EObject toSerialize,
boolean onlySerialiseDelta) |
private static Log logger
private static GeppettoSerializer.GeppettoCustomTypeSerializer customTypeSerializer
public static java.lang.String serializeToJSON(EObject toSerialize, boolean onlySerialiseDelta) throws java.io.IOException
geppettoModel
- onlySerialiseDelta
- if true it only serialised the delta between what was serialised previously and what changedjava.io.IOException
public static java.lang.String serializeToJSON(EObject toSerialize) throws java.io.IOException
toSerialize
- java.io.IOException