@@ -51,6 +51,7 @@ static <T> T deserializeObjectFromJsonFile(Path jsonFile, Class<T> classOfObject
5151 /**
5252 * Returns the Json object from the given file or {@code Optional.empty()} object if the file is not found.
5353 * If any values are missing from the file, default values will be used, as long as the file is a valid json file.
54+ *
5455 * @param filePath cannot be null.
5556 * @param classOfObjectToDeserialize Json file has to correspond to the structure in the class given here.
5657 * @throws DataConversionException if the file format is not as expected.
@@ -79,6 +80,7 @@ public static <T> Optional<T> readJsonFile(
7980 /**
8081 * Saves the Json object to the specified file.
8182 * Overwrites existing file if it exists, creates a new file if it doesn't.
83+ *
8284 * @param jsonFile cannot be null
8385 * @param filePath cannot be null
8486 * @throws IOException if there was an error during writing to the file
@@ -93,6 +95,7 @@ public static <T> void saveJsonFile(T jsonFile, Path filePath) throws IOExceptio
9395
9496 /**
9597 * Converts a given string representation of a JSON data to instance of a class
98+ *
9699 * @param <T> The generic type to create an instance of
97100 * @return The instance of T with the specified values in the JSON string
98101 */
@@ -102,6 +105,7 @@ public static <T> T fromJsonString(String json, Class<T> instanceClass) throws I
102105
103106 /**
104107 * Converts a given instance of a class into its JSON data string representation
108+ *
105109 * @param instance The T object to be converted into the JSON string
106110 * @param <T> The generic type to create an instance of
107111 * @return JSON data representation of the given class instance, in string
@@ -128,7 +132,6 @@ protected Level _deserialize(String value, DeserializationContext ctxt) {
128132 * Gets the logging level that matches loggingLevelString
129133 * <p>
130134 * Returns null if there are no matches
131- *
132135 */
133136 private Level getLoggingLevel (String loggingLevelString ) {
134137 return Level .parse (loggingLevelString );
0 commit comments