Anuraag Agrawal
662f97841e
Fix duplicate fields test. The repeated version is passing because null values in a repeated field are rejected and not testing what it wanted to. Also adds a oneof version that verifies the case of oneof fields of different names (currently only same name check seems to be tested).
...
Also fix spelling of a test.
8 years ago
Anuraag Agrawal
58373fa160
Fix error message for int64 parse error.
8 years ago
Feng Xiao
84f6954ca9
Fix Java build.
8 years ago
Feng Xiao
d36c0c538a
Down-integrate from google3.
8 years ago
prehistoric-penguin
33cc25f36c
Remove duplicated copyright statement
8 years ago
Feng Xiao
075475f834
Don't expose gson exceptions in JsonFormat.
8 years ago
Feng Xiao
4ae8656b6d
Make JsonFormat locale independent.
8 years ago
Caleb Welton
1a56251a35
oneOf fix for JsonFormat includingDefaultValueFields
8 years ago
Adam Cozzette
5a76e633ea
Integrated internal changes from Google
8 years ago
Bo Yang
cc8ca5b6a5
Integrate internal changes
8 years ago
Bo Yang
98835fb8f8
Integrate internal changes
8 years ago
Dave Protasowski
1fc416be21
Allow the JsonFormat.Parser to ignore unknown fields
...
The default behaviour of throwing an exception remains
8 years ago
Feng Xiao
9086d96439
Integrate from internal code base.
9 years ago
chezRong
454dbf16fc
added minified JSON formatting functionality with test
9 years ago
Adam Cozzette
d64a2d9941
Integrated internal changes from Google
...
This includes all internal changes from around May 20 to now.
9 years ago
Jisi Liu
cf14183bcd
Down integrate from Google internal.
9 years ago
Jisi Liu
3b3c8abb96
Integrate google internal changes.
9 years ago
Pradeep Gollakota
4d98369f6d
Allow custom URLs for Any in JsonFormat
...
- Using custom URL for types in Any will no longer throw an
InvalidProtocolBufferException in JsonFormat
- Fixes #1128
9 years ago
Jisi Liu
5221dcbe47
Integrate from google internal.
...
Java files are moved to un-do the hack in the prevous commit, which
moved the java files to the original position for integration.
9 years ago
Jisi Liu
cb3f428810
Undo the Java module change for integration.
...
Moving the files to their original location, so that opensource changes
can be picked during the internal merge. Those files will be moved into
the correct location after merging with internal code.
Note: do NOT merge this into master without the other internal
down-integration commit.
9 years ago
nmittler
49efe9d7db
Restructuring protobuf to multiple modules
...
protobuf/java will become a parent pom that will contain two modules:
core - contains all of the code for the protobuf-java artifact
util - contains all of the code for the protobuf-java-util artifact
Also cleaned up various Maven warnings.
9 years ago
Feng Xiao
7d075a44c1
Update version number and fix javadoc errors.
9 years ago
Feng Xiao
13e1279d86
Remove internal options from proto files.
...
Change-Id: I3daf32cb93dfe0fca38f8b48615ccfc307f748e9
9 years ago
Feng Xiao
e841bac4fc
Down-integrate from internal code base.
9 years ago
Feng Xiao
fbb3ef28c9
Merge Java util package to github.
9 years ago