@Override
	public <T> T toObject(String json, Class<T> clazz, boolean ignoreUnknownField) {
		if (json == null || json.length() == 0) {
			return null;
		}

		try {
			if (ignoreUnknownField) {
				return mapperIgnoreUnknownField.readValue(json, clazz);
			}
			else {
				return mapper.readValue(json, clazz);
			}
		}
		catch (Exception e) {
			throw new JsonException(e.getMessage(), e);
		}
	}
@ Override public < T > T toObject ( String json , Class < T > clazz , boolean ignoreUnknownField ) { if ( json == null || json . length ( ) == 0 ) { return null ; } try { if ( ignoreUnknownField ) { return mapperIgnoreUnknownField . readValue ( json , clazz ) ; } else { return mapper . readValue ( json , clazz ) ; } } catch ( Exception e ) { throw new JsonException ( e . getMessage ( ) , e ) ; } }
将Json转换成对象.

@param json
@param clazz
@param ignoreUnknownField 是否忽略不存在的字段?
@return