package com.khs.sherpa.parser;

import com.khs.sherpa.annotation.Param;
import com.khs.sherpa.json.service.JsonProvider;

public class JsonParamParser implements ParamParser<Object> {

	private JsonProvider jsonProvider;
	
	public boolean isValid(Class<?> clazz) {
		return clazz.isAssignableFrom(Object.class);
	}

	public Object parse(String value, Param annotation, Class<?> clazz) {
		return jsonProvider.toObject(value, clazz);
	}

	public void setJsonProvider(JsonProvider jsonProvider) {
		this.jsonProvider = jsonProvider;
	}
	
}

@@ -271,44 +271,12 @@
 urn 
-clazz.isAssignableFrom(Object.class)
+true
 ;%0A%09%7D

Fix Json Parser