nyla.solutions.commas.json.JsonBeforeCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.commas Show documentation
Show all versions of nyla.solutions.commas Show documentation
Command pattern implementation for building services.
The newest version!
package nyla.solutions.commas.json;
import java.util.Map;
import com.google.gson.JsonParseException;
import nyla.solutions.commas.Command;
import nyla.solutions.commas.CommasConstants;
import nyla.solutions.commas.CommasServiceFactory;
import nyla.solutions.commas.ContentType;
import nyla.solutions.core.data.Envelope;
import nyla.solutions.core.exception.fault.FormatFaultException;
import nyla.solutions.core.util.Debugger;
import nyla.solutions.global.json.JSON;
/**
* Used with the JsonAdvice and envelope to convert payloads to the Object
* @author Gregory Green
*
*/
public class JsonBeforeCommand implements Command