Retrofit2 Post body as Json
<p>I was updating Retrofit to use <strong>Retrofit2</strong> and I already managed to a lot of things GET, POST, PUT...</p>

<p>But i had a request that i have to send a whole JSON I managed to do it in Retrofit 1.9 but in Retrofit2 there is no support for it.</p>

<pre><code>import retrofit.mime.TypedString;

public class TypedJsonString extends TypedString {
    public TypedJsonString(String body) {
        super(body);
    }

    @Override
    public String mimeType() {
        return "application/json";
    }
}
</code></pre>

<p>How to make it <strong>retrofit2</strong> ?</p>