Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup/json object api #14

Merged
merged 2 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
* Javadoc more things
* Consider adding performance testing
* https://github.com/clarkware/junitperf
* compare vs GSON
Expand Down
1 change: 0 additions & 1 deletion src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*/
module technology.sola.json {
exports technology.sola.json;
exports technology.sola.json.builder;
exports technology.sola.json.exception;
exports technology.sola.json.mapper;
exports technology.sola.json.parser;
Expand Down
16 changes: 8 additions & 8 deletions src/main/java/technology/sola/json/JsonArray.java
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void add(int index, JsonElement element) {
}

/**
* Appends the specified {@link JsonObject} to the end of this {@link JsonArray}. If the specified value is null
* Appends the specified {@link JsonObject} to the end of this {@link JsonArray}. If the specified value is {@code null}
* the {@link JsonElementType#NULL} will be appended.
*
* @param value the {@link JsonObject} to append
Expand All @@ -149,7 +149,7 @@ public JsonArray add(JsonObject value) {
}

/**
* Appends the specified {@link JsonArray} to the end of this {@link JsonArray}. If the specified value is null
* Appends the specified {@link JsonArray} to the end of this {@link JsonArray}. If the specified value is {@code null}
* the {@link JsonElementType#NULL} will be appended.
*
* @param value the {@link JsonArray} to append
Expand All @@ -162,7 +162,7 @@ public JsonArray add(JsonArray value) {
}

/**
* Appends the specified string to the end of this {@link JsonArray}. If the specified value is null
* Appends the specified string to the end of this {@link JsonArray}. If the specified value is {@code null}
* the {@link JsonElementType#NULL} will be appended.
*
* @param value the string to append
Expand All @@ -175,7 +175,7 @@ public JsonArray add(String value) {
}

/**
* Appends the specified integer to the end of this {@link JsonArray}. If the specified value is null
* Appends the specified integer to the end of this {@link JsonArray}. If the specified value is {@code null}
* the {@link JsonElementType#NULL} will be appended.
*
* @param value the integer to append
Expand All @@ -188,7 +188,7 @@ public JsonArray add(Integer value) {
}

/**
* Appends the specified long to the end of this {@link JsonArray}. If the specified value is null
* Appends the specified long to the end of this {@link JsonArray}. If the specified value is {@code null}
* the {@link JsonElementType#NULL} will be appended.
*
* @param value the long to append
Expand All @@ -201,7 +201,7 @@ public JsonArray add(Long value) {
}

/**
* Appends the specified float to the end of this {@link JsonArray}. If the specified value is null
* Appends the specified float to the end of this {@link JsonArray}. If the specified value is {@code null}
* the {@link JsonElementType#NULL} will be appended.
*
* @param value the float to append
Expand All @@ -214,7 +214,7 @@ public JsonArray add(Float value) {
}

/**
* Appends the specified double to the end of this {@link JsonArray}. If the specified value is null
* Appends the specified double to the end of this {@link JsonArray}. If the specified value is {@code null}
* the {@link JsonElementType#NULL} will be appended.
*
* @param value the double to append
Expand All @@ -227,7 +227,7 @@ public JsonArray add(Double value) {
}

/**
* Appends the specified boolean to the end of this {@link JsonArray}. If the specified value is null
* Appends the specified boolean to the end of this {@link JsonArray}. If the specified value is {@code null}
* the {@link JsonElementType#NULL} will be appended.
*
* @param value the boolean to append
Expand Down
Loading
Loading