myjson is a small java library that operates with object literals expressed in JSON notation. It can not only convert from java objects to JSON and back, but also compare or even update a java object with the information contained in a JSON string.
Be the first to post a text review of myjson - JSON object literals for java. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Changes in version 1.2 ======================== Enhancements ------------ - Date and similar objects (Time, Timestamp, Calendar) can now be serialized as JavaScript Date() objects or as strings. See the serializeDatesAsString property, as well as the datePattern, timePattern, timestampPattern properties. Both Parser and Updater are able to read them back to Java - Serializer, Updater and Comparator now allow field filters to be specified. You can filter the fields to be processed by scope (as in previous versions), by name, or by a combination of both. See the javadoc of the IFieldFilter interface, then use the setFieldFilter() methods of any of these classes to supply the filter you wish to use during the process. - Serializer now implements Cloneable, which allows the configuration of a serializer to be cloned without having to specify it all over again. Incompatible changes -------------------- - When serializing an object belonging to a class that is not serializable with the exportNonSerializable property set to false, the previous JSON result was {}. The current JSON result is the empty string. - Attempting to update a final field no longer raises an exception, but is silently ignored instead. Bugfixes -------- No pending bugs from previous versions. Changes in version 1.0.1 ======================== Enhancements ------------ Bugfixes -------- - Fixed bug 1593039 in which a lone 0 was interpreted by the Parser as an octal prefix - Fixed bug 1593492 in which the 0.0 sequence was interpreted by the Parser as an octal sequence
Changes in version 1.2 ======================== Enhancements ------------ - Date and similar objects (Time, Timestamp, Calendar) can now be serialized as JavaScript Date() objects or as strings. See the serializeDatesAsString property, as well as the datePattern, timePattern, timestampPattern properties. Both Parser and Updater are able to read them back to Java - Serializer, Updater and Comparator now allow field filters to be specified. You can filter the fields to be processed by scope (as in previous versions), by name, or by a combination of both. See the javadoc of the IFieldFilter interface, then use the setFieldFilter() methods of any of these classes to supply the filter you wish to use during the process. - Serializer now implements Cloneable, which allows the configuration of a serializer to be cloned without having to specify it all over again. Incompatible changes -------------------- - When serializing an object belonging to a class that is not serializable with the exportNonSerializable property set to false, the previous JSON result was {}. The current JSON result is the empty string. - Attempting to update a final field no longer raises an exception, but is silently ignored instead. Bugfixes -------- No pending bugs from previous versions. Changes in version 1.0.1 ======================== Enhancements ------------ Bugfixes -------- - Fixed bug 1593039 in which a lone 0 was interpreted by the Parser as an octal prefix - Fixed bug 1593492 in which the 0.0 sequence was interpreted by the Parser as an octal sequence
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: