Skip to content

Instantly share code, notes, and snippets.

View baconstrudel's full-sized avatar
😷

schinkenstrudel baconstrudel

😷
  • www.schnellspesen.com
  • Frankfurt Main
View GitHub Profile
@baconstrudel
baconstrudel / deserialising.java
Created August 8, 2016 18:00
deserialising subclasses with jackson
package main;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Arrays;
your_list = 'abcdefghijklmnopqrstuvwxyz
complete_list = []
for current in range(3):
a = []
b = []
for i in your_list:
a.append(i)
for y in range(current):
for i in your_list:
for x in a: