@Override
	public Tuple transformPayload(String json) throws Exception {
		List<String> names = new ArrayList<String>();
		List<Object> values = new ArrayList<Object>();
		JsonNode node = this.mapper.readTree(json);
		Iterator<String> fieldNames = node.fieldNames();
		while (fieldNames.hasNext()) {
			String name = fieldNames.next();
			JsonNode valueNode = node.get(name);
			Object value = mapper.treeToValue(valueNode, Object.class);
			names.add(name);
			values.add(value);
		}
		return TupleBuilder.tuple().ofNamesAndValues(names, values);
	}
Converts from a json string into a tuple data structure.

@author Mark Fisher
spring-xd-tuple/src/main/java/org/springframework/xd/tuple/integration/JsonToTupleTransformer.java