@@ -34,8 +34,14 @@ This project is a fork of *python-javaobj* by Volodymyr Buell, originally from
3434
3535This fork intends to work both on Python 2.7 and Python 3.4+.
3636
37- Compatibility warning: New version of the parser
38- ------------------------------------------------
37+ Compatibility Warnings
38+ ======================
39+
40+ New implementation of the parser
41+ --------------------------------
42+
43+ :Implementations: ``v1 ``, ``v2 ``
44+ :Version: `0.4.0`+
3945
4046Since version 0.4.0, two implementations of the parser are available:
4147
@@ -46,9 +52,18 @@ Since version 0.4.0, two implementations of the parser are available:
4652 with support of the object transformer (with a new API) and of the ``numpy ``
4753 arrays loading.
4854
55+ You can use the ``v1 `` parser to ensure that the behaviour of your scripts
56+ doesn't change and to keep the ability to write down files.
57+
58+ You can use the ``v2 `` parser for new developments
59+ *which won't require marshalling * and as a *fallback * if the ``v1 ``
60+ fails to parse a file.
61+
62+ Object transformers V1
63+ ----------------------
4964
50- Compatibility Warning: object transformer
51- -----------------------------------------
65+ :Implementations: `` v1 ``
66+ :Version: `0.2.0`+
5267
5368As of version 0.2.0, the notion of *object transformer * from the original
5469project as been replaced by an *object creator *.
@@ -57,9 +72,20 @@ The *object creator* is called before the deserialization.
5772This allows to store the reference of the converted object before deserializing
5873it, and avoids a mismatch between the referenced object and the transformed one.
5974
75+ Object transformers V2
76+ ----------------------
77+
78+ :Implementations: ``v2 ``
79+ :Version: `0.4.0`+
80+
81+ The ``v2 `` implementation provides a new API for the object transformers.
82+ Please look at the *Usage (V2) * section in this file.
83+
84+ Bytes arrays
85+ ------------
6086
61- Compatibility Warning: bytes arrays
62- -----------------------------------
87+ :Implementations: `` v1 ``
88+ :Version: `0.2.3`+
6389
6490As of version 0.2.3, bytes arrays are loaded as a ``bytes `` object instead of
6591an array of integers.
@@ -68,12 +94,12 @@ an array of integers.
6894Features
6995========
7096
71- * Java object instance unmarshaling
72- * Java classes unmarshaling
73- * Primitive values unmarshaling
97+ * Java object instance un-marshalling
98+ * Java classes un-marshalling
99+ * Primitive values un-marshalling
74100* Automatic conversion of Java Collections to python ones
75101 (``HashMap `` => ``dict ``, ``ArrayList `` => ``list ``, etc.)
76- * Basic marshalling of simple Java objects
102+ * Basic marshalling of simple Java objects (`` v1 `` implementation only)
77103
78104Requirements
79105============
@@ -86,7 +112,7 @@ Requirements
86112Usage (V1 implementation)
87113=========================
88114
89- Unmarshalling of Java serialised object:
115+ Un-marshalling of Java serialised object:
90116
91117.. code-block :: python
92118
0 commit comments