Skip to content

Commit 2da8a1f

Browse files
committed
Merge branch '2.19'
2 parents f05a9e2 + 0c7e708 commit 2da8a1f

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
@@ -138,17 +138,15 @@ One useful setting is the [maxElementDepth](https://javadoc.io/static/com.faster
138138

139139
## Android quirks
140140

141-
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).
142-
For more on the issues, see:
141+
Use of this library on Android is supported since version 2.15.0 (partly via fix of
142+
[#533](https://github.com/FasterXML/jackson-dataformat-xml/issues/533)).
143+
144+
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).
145+
For more on this old issue, see:
143146

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

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

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

0 commit comments

Comments
 (0)