I get a JSONObject
from the client and I want to convert it to a Map
in Java Spring-Boot. Does anyone know a good approach with my data structure?
Json Object:
FilterObject: {
"firstName":
{"filterType":"text","type":"contains","filter":"emma"},...
}
Map to:
Map<String, ColumnFilter> filterMap;
public class ColumnFilter {
private String filterType;
private String type;
private String filter;
}