I want to make a nested nameValuePairs
something like this:
List nameValuePairs = new ArrayList(1);
nameValuePairs.add(new BasicNameValuePair(“key”, new BasicNameValuePair(“key2”, “value”).toString() ) );
I know this doesn’t work, but what should I do to get this nesting right?
I solved it!
the trick was to do it like this: