code: public static void serialize(final StorageConfiguration pConfig) throws TTIOException {
          try {
              FileWriter fileWriter =
                  new FileWriter(new File(pConfig.mFile, Paths.ConfigBinary.getFile().getName()));
              JsonWriter jsonWriter = new JsonWriter(fileWriter);
              jsonWriter.beginObject();
              jsonWriter.name("file").value(pConfig.mFile.getAbsolutePath());
              jsonWriter.endObject();
              jsonWriter.close();
              fileWriter.close();
          } catch (IOException ioexc) {
              throw new TTIOException(ioexc);
          }
      }
docs: Serializing a {@link StorageConfiguration} to a json file.
  
  @param pConfig
  to be serialized
  @throws TTIOException