cleanup work
This commit is contained in:
parent
7bff6bbb06
commit
6e16b3352c
@ -1,5 +1,6 @@
|
|||||||
package org.baeldung.jackson.sandbox;
|
package org.baeldung.jackson.sandbox;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
import java.nio.charset.Charset;
|
import java.nio.charset.Charset;
|
||||||
@ -17,7 +18,12 @@ public class JacksonPrettyPrintUnitTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public final void whenDeserializing_thenCorrect() throws JsonParseException, JsonMappingException, IOException {
|
public final void whenDeserializing_thenCorrect() throws JsonParseException, JsonMappingException, IOException {
|
||||||
printJsonFromFile("/opt/git/github/eugenp/tutorials/jackson/src/main/resources/example1.json");
|
// final String fileName = "src/main/resources/example1.json";
|
||||||
|
final String fileName = "src/main/resources/example1.json";
|
||||||
|
|
||||||
|
new File(fileName);
|
||||||
|
|
||||||
|
printJsonFromFile(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user