Skip to content
Discussion options

You must be logged in to vote

The current implementation does not have support for recovering from errors in the parsing of contents (including number formats). There are 3 workarounds:

  • pre-filter the xml to "tidy" it up
  • Use a custom serializer that parses the content manually (in the case of xml you can just use readString).
  • Use a string property for the serialized type and handle the property value in the type. (You can combine this with a serializer that uses this type as the input for the type you actually want)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PeterAttardo
Comment options

Answer selected by PeterAttardo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants