Joel Leitch
|
50eb582657
|
Ensure that the JsonElement.toString() will always generate valid JSON (even when control characters/whitespace characters are used).
|
2009-09-23 18:28:03 +00:00 |
|
Inderjeet Singh
|
29ab864b2f
|
Fixed bug 158
|
2009-09-23 17:17:03 +00:00 |
|
Joel Leitch
|
c5812bb485
|
Fixed Incorrect JavaDoc
|
2009-09-22 19:10:53 +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
|
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
|
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
|
b44bbbf5e7
|
Added an API method to create a tree of JsonElement from an object.
|
2009-04-03 21:33:01 +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 |
|
Inderjeet Singh
|
2034090b15
|
Changed version to 1.3
Made JsonParser.parse a non-static method.
|
2009-03-31 17:53:23 +00:00 |
|
Joel Leitch
|
c9cb05fc72
|
Do not leak out a ClassCastException to our clients.
|
2009-03-27 19:43:33 +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
|
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
|
2c7cc620d4
|
Exposed API for JsonParser and added methods to Gson to deserialize from a parse tree.
|
2009-02-04 01:56:28 +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
|
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
|
54a480774d
|
Add the ability to configure Gson to exclude serializing and deserializing of all "Inner Classes".
|
2008-12-28 02:00:31 +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
|
9bcbb4cfdc
|
Fixed issue 52 by switching Gson.toJson methods to use Appendable instead of java.io.Writer
|
2008-11-26 19:13:14 +00:00 |
|
Joel Leitch
|
cf2a457af7
|
Removed the TypeAdapter object from GSON now that the primitive objects and fields are created by a custom Type Adapter.
|
2008-11-15 05:11:28 +00:00 |
|
Inderjeet Singh
|
cc90a68241
|
Fixed issue 68 by providing support to override default type adapters for
primitive types. Added a visitFieldUsingCustomHandler method to handle this in
the visitors.
|
2008-10-31 00:19:58 +00:00 |
|
Inderjeet Singh
|
9dfa454f6d
|
Fixed issue 63 where Gson could not operate in a thread-safe manner. Resolved the issue by recreating ObjectNavigatorFactory for each call instead of reusing the same object everywhere. This is needed since ObjectNavigatorFactory had MemoryRefStack that was incorrectly being shared across calls.
|
2008-10-20 20:09:42 +00:00 |
|
Inderjeet Singh
|
2b9fd47b72
|
Fixed issue 53 where default date instances were not getting
serialized/deserialized properly. Added support for time style as well by using he default formatter that uses time style.
|
2008-10-13 18:40:20 +00:00 |
|
Inderjeet Singh
|
7da18b96e8
|
fixed issue 46 by adding toString() methods to Gson, serializers, deserializers, and instanceCreators, and default type adapters.
|
2008-09-16 18:28:31 +00:00 |
|
Inderjeet Singh
|
57d1f32de5
|
moved gson as a project under trunk
|
2008-09-01 03:13:32 +00:00 |
|