Skip to content

Commit b1288e1

Browse files
committed
2020-10-09T21:23
1 parent 614fbcd commit b1288e1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Pojo pojo = JsonHub.fromBytes(strm).toPojo(Pojo.class);
118118

119119
```java
120120
/* to String */
121-
String prettyPrintJson = JsonHub.fromPoso(pojo).prettyPrint();
121+
String prettyPrintJson = JsonHub.fromPojo(pojo).prettyPrint();
122122

123123
/* write to file */
124124
Path path = Paths.get("path/of/file.json");

src/main/java/com/shimizukenta/jsonhub/JsonHub.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ public interface JsonHub extends Iterable<JsonHub> {
361361
public OptionalLong optionalLong();
362362

363363
/**
364-
* Returns OptionalDouble, OptionalDobule has value if type is NUMBER, and {@code OptionalDouble.empty()} otherwise.
364+
* Returns OptionalDouble, OptionalDouble has value if type is NUMBER, and {@code OptionalDouble.empty()} otherwise.
365365
*
366366
* @return OptionalDouble has value if type is NUMBER, and {@code OptionalDouble.empty()} otherwise
367367
*/
@@ -482,14 +482,14 @@ public static JsonHub fromJson(Reader reader) throws IOException {
482482
public void toJson(Writer writer) throws IOException;
483483

484484
/**
485-
* Returns parsed compact-JSON-String exclued null value pair in Object;
485+
* Returns parsed compact-JSON-String exclude null value pair in Object;
486486
*
487487
* @return json of excluded null value pair in Object.
488488
*/
489489
public String toJsonExcludedNullValueInObject();
490490

491491
/**
492-
* Returns parsed compact-JSON-String exclued null value pair in Object;
492+
* Returns parsed compact-JSON-String exclude null value pair in Object;
493493
*
494494
* @param writer
495495
* @throws IOException

0 commit comments

Comments
 (0)