title: Retrofit: Unable to create @Body converter for class
body: <p>I need to send next json via retrofit 2:</p>
  
  <pre><code>{
      "Inspection": {
          "UUID": "name",
          "ModifiedTime": "2016-03-09T01:13",
          "CreatedTime": "2016-03-09T01:13",
          "ReviewedWith": "name2",
          "Type": 1,
          "Project": {
              "Id": 41
          },
          "ActionTypes": [1]
      }   
  }
  </code></pre>
  
  <p>With Header: <code>Authorization: access_token_value</code></p>
  
  <p>I tried this: </p>
  
  <pre><code>//header parameter
  String accessToken = Requests.getAccessToken();
  
  JsonObject obj = new JsonObject();
  JsonObject inspection = new JsonObject();
  
  inspection.addProperty("UUID","name");
  inspection.addProperty("ModifiedTime","2016-03-09T01:13");
  inspection.addProperty("CreatedTime","2016-03-09T01:13");
  inspection.addProperty("ReviewedWith","name2");
  inspection.addProperty("Type","1");
  
  JsonObject project = new JsonObject();
  project.addProperty("Id", 41);
  
  inspection.add("Project", project);
  obj.add("Inspection", inspection);
  
  Retrofit restAdapter = new Retrofit.Builder()
          .baseUrl(Constants.ROOT_API_URL)
          .addConverterFactory(GsonConverterFactory.create())
          .addConverterFactory(ScalarsConverterFactory.create())
          .build();
  IConstructSecureAPI service = restAdapter.create(IConstructSecureAPI.class);
  Call&lt;JsonElement&gt; result = service.addInspection(accessToken, obj);
  JsonElement element = result.execute().body();
  </code></pre>
  
  <p>But everytime i recieved exception: <code>java.lang.IllegalArgumentException: Unable to create @Body converter for class com.google.gson.JsonObject (parameter #2)</code></p>
  
  <p>How can I send it ? Or any another idea how I can do it. You can even offer me with parameter as simple <code>String</code> with json inside. It will suit for me</p>