code: public static Instance readInstance(Reader r) {
          try {
              InstanceConverter c = new InstanceConverter();
              return c.fromJSON(r);
          } catch (JSONConverterException e) {
              throw new IllegalArgumentException(e);
          }
      }
docs: Read an instance.
  
  @param r the stream to read
  @return the resulting instance
  @throws IllegalArgumentException if an error occurred while reading the json