code: public static <O> O deserialise(Path input, Class<O> jsonType) throws IOException {
          return deserialise(input, jsonType, 0);
      }
docs: Deserialises the given {@link InputStream} to a JSON String.
  
  @param input    The stream to deserialise.
  @param jsonType The object type to deserialise into.
  @param <O>      The type to deserialise to.
  @return A new instance of the given type.
  @throws IOException If an error occurs in reading from the input stream.