Permalink
Browse files

documentation changes for 0.4

  • Loading branch information...
amogilev committed Dec 9, 2017
1 parent 3232589 commit 013b1077d8434273ad65a4df27815b9f0198758c
Showing with 27 additions and 3 deletions.
  1. +11 −0 CHANGELOG.md
  2. +6 −1 README.adoc
  3. +10 −2 UserGuide.adoc
View
@@ -1,6 +1,17 @@
Change Log
==========
## Version 0.4
_2017-12-09_
New features:
* Java 9 compatibility
Updates:
* google-gson codebase is updated to release 2.8.2
## Version 0.3.1
_2017-08-27_
View
@@ -5,7 +5,7 @@
YaGson is a universal type-preserving Java serialization library that can convert
link:UserGuide.adoc#limitations[(almost)]
arbitrary Java Objects into JSON and
back, with transparent support for circular references of any kind.
back, with transparent support for circular references of any kind and with a full Java 9 compatibility.
YaGson is based on Google's https://github.com/google/gson[Gson], so it inherits all Gson benefits and adds new valuable features.
The name _YaGson_ is actually an abbreviation for "**y**et **a**nother *Gson*".
@@ -112,6 +112,11 @@ object itself. There may be more complicated references, describing a _path_ fro
`@root.0.field1.1-key`. Also, there are _shortcut_ references like `@.field`, which point to a sibling field in the
parent object.
== New in version `0.4`
* Java 9 compatibility
* google-gson codebase is updated to release 2.8.2
== New in version `0.3.1`
* Bugfixes
View
@@ -6,7 +6,7 @@
YaGson is a universal type-preserving Java serialization library that can convert
link:UserGuide.adoc#limitations[(almost)]
arbitrary Java Objects into JSON and
back, with transparent support for circular references of any kind.
back, with transparent support for circular references of any kind and with a full Java 9 compatibility.
It is based on https://github.com/google/gson[Gson], inheriting all benefits and adding new valuable features.
The name _YaGson_ is actually an abbreviation for "**y**et **a**nother *Gson*".
@@ -78,7 +78,7 @@ In Maven projects, just add the following dependency:
<dependency>
<groupId>com.gilecode.yagson</groupId>
<artifactId>yagson</artifactId>
<version>0.3.1</version>
<version>0.4</version>
<scope>compile</scope>
</dependency>
----
@@ -631,6 +631,14 @@ a functional interface type and the `Serializable` type, e.g.
Such serializable lambdas are correctly serialized as an instance of `java.lang.invoke.SerializedLambda` class and
de-serialized back to a Lambda Expression object of the specified functional interface type.
=== Java 9 Compatibility
Despite the fact that `YaGson` internally use Java Reflection API for its operation, it does it in a way which causes
neither "illegal reflection operation" warnings, nor `IllegalAccessException` even if the `--illegal-access=deny`
JVM argument is used.
So, it can be safely used to serialize and deserialize objects from different modules.
== Using YaGson with REST and Micro-services
Nowadays, one of the popular approaches to Java client-server communication is using RESTful web services that sends

0 comments on commit 013b107

Please sign in to comment.