How can I serialize a jgrapht simple graph to json?
You can disable the exception with: mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
You can disable the exception with: mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);