@Documented
@Target(value=PARAMETER)
@Retention(value=RUNTIME)
public @interface FieldMap
Field values may be null which will omit them from the request body.
Simple Example:
@FormUrlEncoded
@POST("/things")
void things(@FieldMap Map<String, String> fields);
}
Calling with foo.things(ImmutableMap.of("foo", "bar", "kit", "kat") yields a request
body of foo=bar&kit=kat.FormUrlEncoded,
FieldCopyright © 2014 Square, Inc.. All Rights Reserved.