Skip to content

Commit 01b7997

Browse files
committed
双引号变单引号
1 parent a290c51 commit 01b7997

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,17 @@
33
# FlutterJsonBeanFactory Changelog
44

55

6-
## 5.2.1 2024年09月22日
6+
## 5.2.2
7+
8+
### Changed
9+
10+
- double quotation marks are changed to single quotation marks
11+
12+
## 5.2.1
713

814
### Changed
915

1016
- fix [issues/167](https://github.com/fluttercandies/FlutterJsonBeanFactory/issues/167)
11-
- 这个bug修复了我在职的问题,目前已离职,希望大家能帮我推荐下工作,157418979@qq.com,感谢各位
1217

1318

1419
## 5.2.0

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
org.gradle.caching=true
44
pluginGroup = org.ruiyu
55
pluginName = FlutterJsonBeanFactory
6-
pluginVersion = 5.2.1
6+
pluginVersion = 5.2.2
77

88
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
99
# for insight into build numbers and IntelliJ Platform versions.
1010
pluginSinceBuild = 232
11-
pluginUntilBuild = 242.*
11+
pluginUntilBuild = 243.*
1212

1313
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
1414
# See https://jb.gg/intellij-platform-builds-list for available build versions.

src/main/kotlin/com/github/zhangruiyu/flutterjsonbeanfactory/action/jsontodart/ClassDefinition.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class ClassDefinition(private val name: String, private val privateFields: Boole
8686
//如果驼峰命名后不一致,才这样
8787
if (fieldName != key) {
8888
sb.append('\t')
89-
sb.append("@JSONField(name: \"${key}\")\n")
89+
sb.append("@JSONField(name: \'${key}\')\n")
9090
}
9191
sb.append('\t')
9292
_addTypeDef(f, sb, prefix, suffix)

0 commit comments

Comments
 (0)