jadex.transformation.jsonserializer.processors.JsonWriteContext Maven / Gradle / Ivy
The newest version!
package jadex.transformation.jsonserializer.processors;
import java.util.IdentityHashMap;
import java.util.Map;
import java.util.Set;
import jadex.common.SReflect;
import jadex.common.transformation.STransformation;
import jadex.common.transformation.traverser.IRootObjectContext;
import jadex.transformation.jsonserializer.JsonTraverser;
/**
*
*/
public class JsonWriteContext implements IRootObjectContext
{
protected StringBuffer buffer = new StringBuffer();
protected boolean writeclass = true;
protected boolean writeid = true;
protected Map, Set> excludes;
protected int objectcnt = 0;
protected Map