code: @Override
      public void serializeToFile(File out, Object pojo) throws JSONMarshallException {
          try {
              mapper.writeValue(out, pojo);
          } catch (JsonMappingException e) {
              throw new JSONMarshallException("Unable to parse non-well-formed content", e);
          } catch (JsonGenerationException e) {
              throw new JSONMarshallException("Error during JSON writing", e);
          } catch (IOException e) {
              throw new JSONMarshallException("I/O exception of some sort has occurred", e);
          }
      }
docs: {@inheritDoc}