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
|
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
|
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
|
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
|
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 |
|
Inderjeet Singh
|
f33a84c223
|
Added tests for ensuring that control characters are escaped by Gson.
|
2008-12-19 20:58:58 +00:00 |
|
Inderjeet Singh
|
e4fdea0fc1
|
Updated Gson escaper to not escape unicode characters. This is in response to Issue 80.
|
2008-12-19 20:41:53 +00:00 |
|
Inderjeet Singh
|
53f7d26b6d
|
removed tests for serialization of BigDecimal NaN, positive and negative infinity since BigDecimal can not be created with these values.
|
2008-12-19 17:46:24 +00:00 |
|
Inderjeet Singh
|
f7e4d5e4bb
|
Added checks to ensure that we do not serialize NaN or postiive or negative infinity for BigDecimal.
|
2008-12-18 23:56:38 +00:00 |
|
Inderjeet Singh
|
6dbdb272c0
|
Added checks to ensure that we do not serialize NaN or postiive or negative infinity for floats.
|
2008-12-18 23:41:44 +00:00 |
|
Joel Leitch
|
17256b8ce5
|
Added tests for JsonPrimitive object creation with a char type.
Suggestion from r321 code review.
|
2008-12-18 20:06:20 +00:00 |
|
Inderjeet Singh
|
cbc6b4d939
|
Added checks to ensure that we do not serialize NaN or postiive or negative infinity for doubles.
|
2008-12-18 20:00:27 +00:00 |
|
Inderjeet Singh
|
de713614af
|
incorporated feedback from code review of r295
|
2008-12-18 18:59:30 +00:00 |
|
Joel Leitch
|
fc65667d2f
|
Add support for wildcard type on Maps, Collections and other parameterized types.
|
2008-12-14 07:12:04 +00:00 |
|
Joel Leitch
|
8e1c6a2b37
|
Ensure that BigDecimals fields are properly converted into its string representation.
|
2008-12-14 05:56:41 +00:00 |
|
Joel Leitch
|
ea79cd6812
|
Allow booleans and number to be deserialized into a "String" field/object.
|
2008-12-14 04:42:16 +00:00 |
|
Joel Leitch
|
0b5f3dc825
|
Added UUID as a default type supported by Gson.
|
2008-12-13 20:42:31 +00:00 |
|
Joel Leitch
|
11a29b63b0
|
Implemented suggested changes from r324 code review.
|
2008-12-02 23:41:04 +00:00 |
|
Joel Leitch
|
b9e81f93c1
|
Fixed warnings and updated some JavaDoc.
|
2008-12-01 01:40:11 +00:00 |
|
Joel Leitch
|
50dd475eb8
|
Added more tests involving Since and Until versioning.
|
2008-12-01 00:23:35 +00:00 |
|
Joel Leitch
|
6f59bc3bfe
|
Added "Until" type version. This new annotation allows you to remove members from the JSON output beginning at a certain version number.
This new annotation work in conjunction with the "@Since" annotation.
|
2008-12-01 00:10:04 +00:00 |
|
Joel Leitch
|
5ae7e1f803
|
Adding new convenience method to JsonObject for adding Booleans and Characters.
|
2008-11-30 23:36:29 +00:00 |
|
Joel Leitch
|
b90228dcc0
|
Enable serialization of nulls within Maps.
|
2008-11-30 23:01:14 +00:00 |
|
Joel Leitch
|
a82c400dc8
|
Fix warnings.
|
2008-11-30 00:47:07 +00:00 |
|
Joel Leitch
|
c9e48097ec
|
Do not overwrite a duplicate field value during seriailzation if one those fields is null.
|
2008-11-27 00:50:50 +00:00 |
|
Joel Leitch
|
d6d1daeedd
|
Submitting @Expose tests with interfaces.
|
2008-11-26 21:46:55 +00:00 |
|
Inderjeet Singh
|
59be02d4de
|
Added support for accepting Object field names without quotes. Issue 41.
|
2008-11-26 17:52:46 +00:00 |
|
Inderjeet Singh
|
7334a33d14
|
Test to verify support for object member names without quotes (see Issue 41).
|
2008-11-26 17:49:35 +00:00 |
|
Joel Leitch
|
2effd57976
|
Deserialization will no longer call the default constructor or InstanceCreator if the object being deserialized has a custom deserializer.
|
2008-11-25 18:42:47 +00:00 |
|
Inderjeet Singh
|
1e7f3ebe7a
|
tests to verify correct serialization and deserialization of = char.
|
2008-11-25 17:53:12 +00:00 |
|
Joel Leitch
|
0c98c2f8d1
|
More lenient parsing of Numbers and Booleans. Basically, can deserialize properly formatted stringr representations of numbers and booleans.
|
2008-11-20 19:40:12 +00:00 |
|
Joel Leitch
|
2250afe825
|
Allow serialization of Object in collections. This used to be supported before restructuring the Collection type handling.
|
2008-11-20 01:06:21 +00:00 |
|
Joel Leitch
|
3df2d44e40
|
Adding a "remove" method to the JsonObject class. Created a unit test to ensure it is functioning properly.
|
2008-11-19 01:22:21 +00:00 |
|
Joel Leitch
|
d5319d9e84
|
Parse all JSON numbers as either BigDecimal or BigInteger. From there we can properly convert into the proper primitive type if need be. This reduces the chance of losing precision with floating point numbers.
|
2008-11-18 20:26:15 +00:00 |
|
Joel Leitch
|
628a2c5b86
|
Added default serializer/deserializer for "Number"
|
2008-11-18 20:05:02 +00:00 |
|
Joel Leitch
|
788d2bfbbb
|
Fix parsing of double and big decimals that have an exponent but no fraction part.
|
2008-11-18 19:55:14 +00:00 |
|