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 |
|
Inderjeet Singh
|
9173a4dc63
|
missed these files
|
2009-02-06 19:37:39 +00:00 |
|
Inderjeet Singh
|
81b5ea2da4
|
updated javadocs to 1.3beta2
|
2009-02-06 19:32:56 +00:00 |
|
Inderjeet Singh
|
228fbb9b8b
|
reverting this file since we do not want to generate parser everytime maven is run.
|
2009-02-04 02:02:31 +00:00 |
|
Inderjeet Singh
|
2c7cc620d4
|
Exposed API for JsonParser and added methods to Gson to deserialize from a parse tree.
|
2009-02-04 01:56:28 +00:00 |
|
Inderjeet Singh
|
f4c21abda6
|
updated javadoc in response to issue 97
|
2009-01-29 02:43:36 +00:00 |
|
Joel Leitch
|
764e4d9aca
|
Performance fixes after doing some profiling.
|
2009-01-20 08:38:21 +00:00 |
|
Joel Leitch
|
6a80791f13
|
Code cleanup and some minor performance fixes.
|
2009-01-20 01:36:54 +00:00 |
|
Joel Leitch
|
2cec661ff0
|
Removing some unnecessary code.
|
2009-01-20 01:00:59 +00:00 |
|
Joel Leitch
|
d34fb916cb
|
Added tests for enum serialization and derserialization.
|
2009-01-20 00:52:54 +00:00 |
|
Joel Leitch
|
47b67390fa
|
Set the DEBUG bit back to false.
|
2009-01-17 22:34:57 +00:00 |
|
Joel Leitch
|
f4f92a699d
|
Added test for pretty printing of Maps.
|
2009-01-17 22:32:59 +00:00 |
|
Joel Leitch
|
e8619405be
|
Updating LICENSE file dates.
|
2009-01-12 17:31:30 +00:00 |
|
Joel Leitch
|
9c05adf0fd
|
Committing JavaDoc changes for the 1.3 Beta release.
|
2009-01-12 17:28:53 +00:00 |
|
Joel Leitch
|
0b1ee35784
|
Code review suggestions for r361
|
2009-01-12 17:10:50 +00:00 |
|
Joel Leitch
|
6620786642
|
Added Copyright statement.
|
2009-01-11 06:18:08 +00:00 |
|
Joel Leitch
|
e2cfc0cc19
|
Update GsonBuilder API to accept an enum for the serialize Long as string. This will be useful if/when we implement support to serialize a long type as an array of integers.
|
2009-01-11 06:11:29 +00:00 |
|
Joel Leitch
|
90a4619034
|
Minor fixes for pretty printing.
|
2009-01-11 05:01:23 +00:00 |
|
Joel Leitch
|
02decace26
|
Added the ability to deserialize a Map "key" object from a String into a complex Java type.
|
2009-01-06 07:09:19 +00:00 |
|
Inderjeet Singh
|
970446e997
|
replaced system.out.println with a real assertion in the test.
|
2008-12-31 01:15:15 +00:00 |
|
Inderjeet Singh
|
cc334475b0
|
Fixed issue 87 by adding support for deserialization of java.util.Properties
|
2008-12-31 01:01:57 +00:00 |
|
Inderjeet Singh
|
6fe2fdf7a0
|
test to reproduce issue 87
|
2008-12-31 00:43:40 +00:00 |
|
Inderjeet Singh
|
3690d362b9
|
incorporated feedback from r358
|
2008-12-30 22:42:36 +00:00 |
|
Inderjeet Singh
|
e839336eea
|
Incorporated comments from the code review r355
|
2008-12-30 19:03:43 +00:00 |
|
Inderjeet Singh
|
05f54f3552
|
Incorporated code review comments from r350
|
2008-12-30 18:54:33 +00:00 |
|
Joel Leitch
|
9612bb3601
|
Removing test file that I didn't mean to add in r355.
|
2008-12-28 23:14:44 +00:00 |
|
Joel Leitch
|
73d93e3322
|
Provide a setting to allow a client to skip the escaping of special HTML characters.
As well, remove the "/" from the list of special HTML characters since it is causing some incompatibilities.
|
2008-12-28 23:05:22 +00:00 |
|
Joel Leitch
|
1c87bd5993
|
Some minor update to our JavaDoc
|
2008-12-28 06:51:11 +00:00 |
|
Joel Leitch
|
f923f7f537
|
Add "@since" JavaDoc to the new methods in GsonBuilder.
|
2008-12-28 03:35:07 +00:00 |
|
Joel Leitch
|
458f2baa2f
|
Added special serialization of "Long". Now the client has the ability to output a long field as a JSON "String". This is useful for JavaScript clients that need to handle long values.
As well, this change does a major clean up of the custom type adapter handling and ParameterizedTypeMap creation.
|
2008-12-28 03:23:36 +00:00 |
|
Joel Leitch
|
859af0025c
|
Implement suggestions from self review of r350.
|
2008-12-28 02:05:40 +00:00 |
|
Joel Leitch
|
54a480774d
|
Add the ability to configure Gson to exclude serializing and deserializing of all "Inner Classes".
|
2008-12-28 02:00:31 +00:00 |
|
Joel Leitch
|
73117fe652
|
Wrapping UUID deserializer in exception wrapper to make it consistent with other deserializers
|
2008-12-28 00:00:12 +00:00 |
|
Joel Leitch
|
911a92bff9
|
Removal of all unnecessary "Default" InstanceCreators. While refactoring the code, I found a bug that these InstanceCreators were being called when inside an "Array". This bug is fixed in this change.
|
2008-12-27 23:43:16 +00:00 |
|
Inderjeet Singh
|
bc6ec50db9
|
incorporated fixes from code review of r341
|
2008-12-23 18:24:13 +00:00 |
|
Inderjeet Singh
|
e0195fcc54
|
code review changes from r342
Enabled escaping of /
|
2008-12-23 18:18:14 +00:00 |
|
Inderjeet Singh
|
51881c7f4a
|
Added a GsonBuilder setting to enable serialization of special double types, NaN, Infinity, and -Infinity.
|
2008-12-20 01:26:14 +00:00 |
|
Inderjeet Singh
|
362a94ec74
|
Added deserialization support for Double NaN, Infinity, and -Infinity
|
2008-12-19 22:21:35 +00:00 |
|