Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Fastjson
Commits
7a56c582
Commit
7a56c582
authored
10 years ago
by
高铁
Browse files
Options
Download
Plain Diff
Merge pull request #106 from ptma/master
属性名首字母小写但第二个字母大写的情况
parents
fc540d4c
5fe2ac72
master
android
dependabot/maven/com.fasterxml.jackson.core-jackson-databind-2.12.6.1
dependabot/maven/com.google.code.gson-gson-2.8.9
dependabot/maven/com.google.protobuf-protobuf-java-3.16.1
dependabot/maven/org.codehaus.groovy-groovy-2.4.21
dependabot/maven/org.eclipse.jetty-jetty-server-9.4.41.v20210516
dependabot/maven/org.eclipse.jetty-jetty-webapp-9.4.34.v20201102
dependabot/maven/org.hibernate-hibernate-core-5.4.24.Final
dependabot/maven/org.jetbrains.kotlin-kotlin-stdlib-1.6.0
dependabot/maven/org.springframework-spring-webmvc-5.3.18
issue/#3138
summer_of_code_json_check
1.2.83
1.2.80
1.2.79
1.2.78
1.2.76
1.2.75
1.2.74
1.2.73
1.2.72
1.2.71
1.2.70
1.2.69
1.2.68
1.2.67
1.2.66
1.2.63
1.2.62
1.2.61
1.2.60
1.2.59
1.2.58
1.2.57
1.2.56
1.2.55
1.2.54
1.2.52
1.2.51
1.2.50
1.2.49
1.2.48
1.2.47
1.2.46
1.2.45
1.2.44
1.2.43
1.2.42
1.2.41
1.2.40
1.2.39
1.2.38
1.2.37
1.2.36
1.2.35
1.2.34
1.2.33
1.2.32
1.2.31
1.2.30
1.2.29
1.2.28
1.2.27
1.2.26
1.2.25
1.2.24
1.2.23
1.2.22
1.2.21
1.2.20
1.2.19
1.2.18
1.2.17
1.2.16
1.2.15
1.2.14
1.2.14.sec01
1.2.13
1.2.13.sec01
1.2.12
1.2.11_release
1.2.10
1.2.9
1.2.8
1.2.8.internal.v1
1.2.7
1.2.7.sec01
1.2.7.internal
1.2.7.internal.v1
1.2.6
1.2.4
1.2.2
1.2.1
1.2.0
1.1.157
1.1.71.android
1.1.68.android
1.1.67.android
1.1.66.android
1.1.65.android
1.1.64.android
1.1.63.android
1.1.62.android
1.1.61.android
1.1.60.android
1.1.59.android
1.1.58.android
1.1.57.android
1.1.56.android
1.1.55.android
1.1.54.android
1.1.53.android
1.1.52.android
1.1.51-android
1.1.50-android
1.1.49-android
1.1.48-android
1.1.47-android
1.1.46
1.1.46.sec01
1.1.46.internal.v1
1.1.46-android
1.1.45
1.1.45.android
1.1.44
1.1.44.android
1.1.43
1.1.43.android
1.1.42
1.1.42.android
1.1.37
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/alibaba/fastjson/util/TypeUtils.java
+2
-0
src/main/java/com/alibaba/fastjson/util/TypeUtils.java
with
2 additions
and
0 deletions
+2
-0
src/main/java/com/alibaba/fastjson/util/TypeUtils.java
+
2
-
0
View file @
7a56c582
...
...
@@ -1001,6 +1001,8 @@ public class TypeUtils {
propertyName
=
methodName
.
substring
(
4
);
}
else
if
(
c3
==
'f'
)
{
propertyName
=
methodName
.
substring
(
3
);
}
else
if
(
methodName
.
length
()>=
5
&&
Character
.
isUpperCase
(
methodName
.
charAt
(
4
))){
propertyName
=
Introspector
.
decapitalize
(
methodName
.
substring
(
3
));
}
else
{
continue
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help