code: public static <T extends TBase> T deserializeJson(T dest, String thriftJson) throws TException {
  		// Tried having a static final deserializer, but it doesn't seem to be thread safe
  		new TDeserializer(new TJSONProtocol.Factory()).deserialize(dest, thriftJson, THRIFT_CHARSET);
  		return dest;
  	}
docs: Deserialize a JSON-encoded thrift object