source: class ConvertTest {
  
      @Test
      public void testConvertJsonArray() {
  
target:         int intValue = Random.getInt();
          String string = Random.getString();
          boolean bool = Random.getBoolean();
          long longVal = Random.getLong();
          float floatVal = Random.getFloat();
          double doubleVal = Random.getDouble();
          Set<Object> expected = Sets.<Object> newHashSet(intValue, string, bool,
                  longVal, floatVal, doubleVal);
          String json = "{\"array\": [" + intValue + ", \"" + string + "\", "
                  + bool + ", " + longVal + ", " + floatVal + ", \"" + doubleVal
                  + "D\"]}";
          Multimap<String, Object> data = Convert.jsonToJava(json);
          Set<Object> values = Sets.newHashSet(data.get("array"));
          Set<Object> oddMenOut = Sets.symmetricDifference(expected, values);
          Assert.assertEquals(0, oddMenOut.size());
      }
  
  }