Skip to content

Commit e5b8585

Browse files
committed
Fix #711: update README wrt usage on Android (working since 2.15)
1 parent ca2b681 commit e5b8585

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,17 +139,15 @@ One useful setting is the [maxElementDepth](https://javadoc.io/static/com.faster
139139

140140
## Android quirks
141141

142-
Usage of this library on Android is currently not supported. This is due to the fact that the Stax API is unavailable on the Android platform, and attempts to declare an explicit dependency on the Stax API library will result in errors at build time (since the inclusion of the `javax.*` namespace in apps is restricted).
143-
For more on the issues, see:
142+
Use of this library on Android is supported since version 2.15.0 (partly via fix of
143+
[#533](https://github.com/FasterXML/jackson-dataformat-xml/issues/533)).
144+
145+
Earlier versions had problem due to Stax API being unavailable on the Android platform, and attempts to declare an explicit dependency on the Stax API library resulting in errors at build time (since the inclusion of the `javax.*` namespace in apps is restricted).
146+
For more on this old issue, see:
144147

145148
* https://stackoverflow.com/questions/31360025/using-jackson-dataformat-xml-on-android
146149
* https://www.docx4java.org/blog/2012/05/jaxb-can-be-made-to-run-on-android/
147150

148-
Note that as per above articles it MAY be possible to use the module on Android, but it unfortunately requires
149-
various work-arounds and development team can not do much to alleviate these issues.
150-
Suggestions for improvements would be welcome; discussions on
151-
[Jackson users list](https://groups.google.com/forum/#!forum/jackson-user) encouraged.
152-
153151
## Serializing POJOs as XML
154152

155153
Serialization is done very similar to JSON serialization: all that needs to change is `ObjectMapper` instance to use:

0 commit comments

Comments
 (0)