All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tinypass.client.common.JsonParser Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
package com.tinypass.client.common;

import java.io.IOException;

public abstract class JsonParser {

	private static JacksonJsonParser INSTANCE = new JacksonJsonParser();

	public static JsonParser getInstance() {
		return INSTANCE;
	}

	public abstract  T deserialize(String json, Class cls) throws IOException;

	public abstract  T deserialize(String json, String containerType, Class cls) throws ApiException;

	public abstract String serialize(Object obj) throws ApiException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy