Inderjeet Singh
|
66649a1a62
|
Moved ancestor tracking into the serialization visitor. Deserialization process doesn't need ancestor tracking since JSON does not allow self-referential structures.
|
2009-08-31 16:38:50 +00:00 |
|
Inderjeet Singh
|
c4c8a1c1a6
|
Updated version information in header
|
2009-08-24 17:22:31 +00:00 |
|
Inderjeet Singh
|
cbcf7defa3
|
Updated Grammar for matching JsonArray to be left-associative rather than right-associative. Gson can now parse arrays of size over 11MB instead of 80KB which was the prior limit. Thanks for the tip, kenotron.
|
2009-08-22 01:03:27 +00:00 |
|
Inderjeet Singh
|
c13fc568c7
|
Fixed indentation and simplified equals method as per code review comments on r419
|
2009-08-18 18:07:25 +00:00 |
|
Inderjeet Singh
|
f4f596ec3d
|
Made JsonParser implement Iterator
|
2009-08-12 21:01:42 +00:00 |
|
Inderjeet Singh
|
41a1f8b89e
|
Added tests in response to http://groups.google.com/group/google-gson/browse_thread/thread/41478d30b9f100b5
|
2009-08-10 17:47:11 +00:00 |
|
Inderjeet Singh
|
b7cbfc5c34
|
Fixed Issue 141 by adding new APIs for writing out JSON string representation for JsonElements.
|
2009-08-07 20:58:41 +00:00 |
|
Inderjeet Singh
|
03a3cc83c3
|
Attempt to reproduce issue 140
|
2009-08-07 01:12:41 +00:00 |
|
Inderjeet Singh
|
64172d1dac
|
Added support to serialize and deserialize array of java.lang.Object when the content is a primitive type.
|
2009-07-27 23:24:23 +00:00 |
|
Inderjeet Singh
|
d8095c72fd
|
minor improvements to the test
|
2009-07-14 01:08:04 +00:00 |
|
Inderjeet Singh
|
eac1beacc9
|
Added performance tests for byte array serialization and deserialization.
|
2009-07-13 22:27:55 +00:00 |
|
Inderjeet Singh
|
4f0728f6a0
|
Fixed issue 126 by ensuring that parameterized type deduction is not done for transient fields.
|
2009-06-02 18:02:15 +00:00 |
|
Inderjeet Singh
|
6d50bcea87
|
Added serialize and deserialize parameters to the Expose annotation that control whether a field gets exposed during serialization or deserialization.
|
2009-05-19 23:47:53 +00:00 |
|
Joel Leitch
|
376385ac0e
|
Add a single quote to the HTML set of characters that should be escaped.
|
2009-05-19 19:49:25 +00:00 |
|
Joel Leitch
|
cd9bd71092
|
Allow JS Keywords as field name. These names are quoted anyways (and are valid according to the JSON spec) so it should not cause any issues.
|
2009-05-19 17:59:32 +00:00 |
|
Joel Leitch
|
abf4ab2d78
|
Fix project so it still compiles with JDK 1.5.
|
2009-05-19 17:51:02 +00:00 |
|
Inderjeet Singh
|
6e59e502c2
|
Refactored the Async parser interface out of JsonParser into a new class JsonParserAsync. Updated the JsonParser to detect Eof and return a null instead of throwing a ParseException.
|
2009-05-14 20:18:45 +00:00 |
|
Inderjeet Singh
|
f2fd0b7d52
|
Fixed the typo in OSGi Bundle manifest and updated the version number to 1.4 to match the revised Gson version.
|
2009-05-08 22:24:26 +00:00 |
|
Inderjeet Singh
|
0127891081
|
Added a new API method in JsonParser to allow reading of multiple JSON objects on a stream asynchronously.
|
2009-05-08 22:22:34 +00:00 |
|
Inderjeet Singh
|
6b39f52f53
|
Added OSGi Bundle manifest headers to enable use of Gson in OSGi environments.
Fixes issue 120
|
2009-05-05 23:31:43 +00:00 |
|
Inderjeet Singh
|
b44bbbf5e7
|
Added an API method to create a tree of JsonElement from an object.
|
2009-04-03 21:33:01 +00:00 |
|
Inderjeet Singh
|
f418ab69a2
|
Implementing hashcode and equals for JsonPrimitives as value type equality.
|
2009-04-03 21:24:38 +00:00 |
|
Joel Leitch
|
f9b1225581
|
Commiting JavaDoc for the 1.3 Release.
|
2009-04-02 01:40:57 +00:00 |
|
Inderjeet Singh
|
84f0ddd6bb
|
Throwing a helpful error in cases where the user forgot to use the TypeToken idiom.
|
2009-04-01 22:24:10 +00:00 |
|
Joel Leitch
|
5c6d5a0d11
|
Remove unneeded exception handling in Gson class.
|
2009-04-01 19:26:10 +00:00 |
|
Inderjeet Singh
|
cee6c74960
|
incorporated code review comments from r379 by removing the catching of OutOfMemoryError and StackOverflowError in Gson.fromJson. This is obviated since JsonParser.parse catches these errors, and that was the primary source of these problems.
|
2009-04-01 17:15:01 +00:00 |
|
Joel Leitch
|
e9600e10cb
|
Made GregorianCalendarTypeAdapter consistent with the other default type adapters.
|
2009-04-01 17:07:23 +00:00 |
|
Inderjeet Singh
|
149604f0be
|
Made author tags consistent across the public api.
|
2009-04-01 17:03:31 +00:00 |
|
Joel Leitch
|
c8cb35e025
|
Adding copyright statement to JsonParserTest.
|
2009-04-01 16:56:40 +00:00 |
|
Inderjeet Singh
|
85f7c939f6
|
Renamed JsonParserImpl to JsonParserJavacc for clarity.
|
2009-03-31 17:58:35 +00:00 |
|
Inderjeet Singh
|
2034090b15
|
Changed version to 1.3
Made JsonParser.parse a non-static method.
|
2009-03-31 17:53:23 +00:00 |
|
Inderjeet Singh
|
8965d31ce9
|
made DEBUG final per the naming conventions.
|
2009-03-30 19:55:05 +00:00 |
|
Inderjeet Singh
|
e340801d25
|
Moved enum-related tests under EnumTest class.
|
2009-03-30 18:36:55 +00:00 |
|
Inderjeet Singh
|
4f727df749
|
Throwing JsonParseException when the user expected class doesn't match the JSON input during deserialization.
|
2009-03-27 23:17:46 +00:00 |
|
Joel Leitch
|
c9cb05fc72
|
Do not leak out a ClassCastException to our clients.
|
2009-03-27 19:43:33 +00:00 |
|
Inderjeet Singh
|
727dbcdd88
|
Fixed javadoc for toString() since we do not output valid Json for strings at the moment.
|
2009-03-20 18:06:52 +00:00 |
|
Inderjeet Singh
|
68f3899c1a
|
Updated the security token to make generated Json non-executable. Removed the unneeded <data> element at the end.
|
2009-03-20 18:02:35 +00:00 |
|
Inderjeet Singh
|
7e90d3a7b2
|
Updated version to 1.3b3 and revised javadocs. Released this version publicly.
|
2009-03-17 21:32:13 +00:00 |
|
Inderjeet Singh
|
b2b2e5dc0a
|
Implemented enhancement request from issue 42 by supporting a new GsonBuilder setting generateNonExecutableJson() that prefixes the generated JSON with some special text that makes the output non-executable javascript. Gson now recognizes this special text in the input while parsing the JSON in fromJson and filters it out, if present.
|
2009-03-17 21:15:10 +00:00 |
|
Inderjeet Singh
|
1c5785be57
|
Tests to reproduce issue 95. The tests currently pass so the bug will be marked as invalid.
|
2009-03-12 20:54:00 +00:00 |
|
Inderjeet Singh
|
4fc6400f5c
|
Fixed the test that broke while fixing issue 100 in r394 by using a TreeSet for SortedSets and HashSet for other kind of sets.
|
2009-03-12 18:17:14 +00:00 |
|
Inderjeet Singh
|
a595032a90
|
Fixed issue 100 by adding support for deserialization of collections of elements that do not implement Comparable.
|
2009-03-12 01:59:48 +00:00 |
|
Inderjeet Singh
|
3d1f7251c1
|
Added tests to reproduce issue 103. The tests pass at the moment, so we need more information in the bugreport.
|
2009-03-12 01:04:30 +00:00 |
|
Inderjeet Singh
|
8f456831d4
|
Fixed Issue 104 by making FieldNamingStrategy to be public and allowing FieldNamingStrategy to be set in GsonBuilder
|
2009-03-11 21:53:02 +00:00 |
|
Inderjeet Singh
|
809e3b5e21
|
Fixed bug 106 by adding custom serialization support for Gregorian Calendar.
|
2009-03-11 21:46:58 +00:00 |
|
Inderjeet Singh
|
16be7167ec
|
Updated Gson grammar to support floating point numbers without a +/- after the E. So, 1.234567899E8 is now accepted by Gson as a valid floating point number. This fixed the bug http://code.google.com/p/google-gson/issues/detail?id=94
Also, updated Gson to use Javacc 4.2.
|
2009-03-05 23:05:29 +00:00 |
|
Inderjeet Singh
|
18005bbae1
|
using consistent method name prefixes.
|
2009-03-03 22:37:26 +00:00 |
|
Inderjeet Singh
|
2c25fdd850
|
Added a test to measure performance of Gson on large collections. Gson's parser handled a collection of 1.4 million objects for serialization. For deserialization, the numbers were lower and Gson parser gave a stack overflow beyond a collection of 87,000 objects.
|
2009-03-03 22:20:59 +00:00 |
|
Inderjeet Singh
|
da8a1feee8
|
Added tests for the bugreport http://code.google.com/p/google-gson/issues/detail?id=99
|
2009-03-03 21:09:07 +00:00 |
|
Inderjeet Singh
|
d4a53ee2fc
|
Added tests to verify JsonParser and related methods in Gson.
|
2009-02-07 00:20:30 +00:00 |
|