Skip to content

Commit 3dd1184

Browse files
authored
Merge pull request #58 from kezhenxu94/2.1-dev
2.1 dev
2 parents ee6ea5a + 559f880 commit 3dd1184

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/kotlin/wu/seal/jsontokotlin/KotlinCodeMaker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class KotlinCodeMaker {
8787

8888
private fun appendCodeMember(stringBuilder: StringBuilder, jsonObject: JsonObject) {
8989

90-
val size = jsonObject.size()
90+
val size = jsonObject.entrySet().size
9191

9292
jsonObject.entrySet().forEachIndexed { index, (property, jsonElementValue) ->
9393
val isLast = (index == size - 1)

src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<idea-plugin>
22
<id>wu.seal.tool.jsontokotlin</id>
33
<name>JSON To Kotlin Class (JsonToKotlinClass)</name>
4-
<version>2.1</version>
4+
<version>2.1.1</version>
55
<vendor email="[email protected]" url="https://www.github.com/wuseal">Seal</vendor>
66

77
<description><![CDATA[

0 commit comments

Comments
 (0)