Skip to content

Commit

Permalink
2020-10-09T21:23
Browse files Browse the repository at this point in the history
  • Loading branch information
kenta-shimizu committed Oct 9, 2020
1 parent 614fbcd commit b1288e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Pojo pojo = JsonHub.fromBytes(strm).toPojo(Pojo.class);

```java
/* to String */
String prettyPrintJson = JsonHub.fromPoso(pojo).prettyPrint();
String prettyPrintJson = JsonHub.fromPojo(pojo).prettyPrint();

/* write to file */
Path path = Paths.get("path/of/file.json");
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/shimizukenta/jsonhub/JsonHub.java
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ public interface JsonHub extends Iterable<JsonHub> {
public OptionalLong optionalLong();

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

/**
* Returns parsed compact-JSON-String exclued null value pair in Object;
* Returns parsed compact-JSON-String exclude null value pair in Object;
*
* @return json of excluded null value pair in Object.
*/
public String toJsonExcludedNullValueInObject();

/**
* Returns parsed compact-JSON-String exclued null value pair in Object;
* Returns parsed compact-JSON-String exclude null value pair in Object;
*
* @param writer
* @throws IOException
Expand Down

0 comments on commit b1288e1

Please sign in to comment.