Lorenz Nickel
|
b75e1bbc79
|
Code cleanup (Removed spaces) (#1474)
* Removed double spaces in comments
* Unified comments
* Removed space
* Removed spaces in code
|
2019-03-03 11:18:06 -08:00 |
|
Jesse Wilson
|
f777a192ee
|
Remove dead code and fold contents of single-member helper classes into their clients.
|
2011-11-20 21:02:26 +00:00 |
|
Inderjeet Singh
|
d70fb90ef7
|
Added methods to convert to JsonElement in TypeAdapter.
Using lenient mode while working with Gson.
Handling nulls while invoking legacy Gson type adapters.
|
2011-08-03 02:40:18 +00:00 |
|
Inderjeet Singh
|
abe244c099
|
renamed com.google.gson.stream.JsonSyntaxException to MalformedJsonException.
Throwing JsonSyntaxException instead of JsonParseException where we can detect a syntax error.
|
2010-11-01 22:48:52 +00:00 |
|
Inderjeet Singh
|
2b1f3eec15
|
Removed a bunch of unused code and unnecessary else statements.
|
2010-09-28 13:42:43 +00:00 |
|
Jesse Wilson
|
fa40b4c63a
|
Rename GsonReader to Streams; check that class in.
|
2010-09-02 00:10:02 +00:00 |
|
Jesse Wilson
|
7a7bbf754c
|
Use JsonReader internally rather than JsonParserJavacc.
For raw parsing (ie. new JsonParser().parse()) the parse time has improved substantially. For example, JsonParserJavacc parsed my 48KiB buzz feed in 4.8ms. JsonReader parses the same feed in 0.9ms.
http://microbenchmarks.appspot.com/run/limpbizkit@gmail.com/com.google.gson.GsonBenchmark/430001
|
2010-08-27 05:59:18 +00:00 |
|
Inderjeet Singh
|
2bddd575b3
|
Code review changes from r476
|
2009-10-08 23:23:52 +00:00 |
|
Inderjeet Singh
|
ff74224815
|
Revised equals and hashcode of ObjectTypePair to ensure reference equality of object instead of value equality. Improved JavaDocs for various 1.4 API methods.
|
2009-10-05 18:17:52 +00:00 |
|
Joel Leitch
|
25ea878f66
|
Add some synchronization to the JsonStreamParser to ensure that the "next" method behaves according to the API.
|
2009-10-02 20:21:19 +00:00 |
|
Inderjeet Singh
|
c64b79c0f9
|
Implemented suggestions from the code review of r436: throwing NoSuchElementException in case the stream hits EOF.
|
2009-10-01 18:34:11 +00:00 |
|
Inderjeet Singh
|
3b1056c097
|
Renamed JsonParserAsync to JsonStreamParser as that is a more appropriate name.
Added a TODO in JsonSerializationVisitor per code review of r453.
|
2009-10-01 17:46:28 +00:00 |
|