File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ object FastjsonSupporter:IJsonLibSupporter {
2525
2626 fastjsonSupportPropertyBuilder.append(" " )
2727
28+ /* *
29+ * todo // the logic below also has problem ,remove 'is' when it end with uppercase,or don't do anything
30+ */
2831 fastjsonSupportPropertyBuilder.append(KPropertyName .getName(removeStartIsCharactors(rawPropertyName)))
2932
3033 fastjsonSupportPropertyBuilder.append(" : " )
@@ -40,9 +43,7 @@ object FastjsonSupporter:IJsonLibSupporter {
4043 return fastjsonSupportPropertyBuilder.toString()
4144 }
4245
43- /* *
44- * todo // the logic also has problem ,remove 'is' when it end with uppercase,or don't do anything
45- */
46+
4647 private fun removeStartIsCharactors (rawPropertyName : String ): String {
4748 if (rawPropertyName.startsWith(" is" )) {
4849
You can’t perform that action at this time.
0 commit comments