A
Andreas Huber
Hello there
I need to serialize/deserialize some pretty simple data structures (no
inheritance, few has relationships, ~20 classes) in three formats. One is
XML (structure is not important as long as it's human-readable and
modifiable), and two are proprietary binary formats. For XML I'll use the
SoapFormatter, no sweat.
For the two other formats I would like to implement my own formatters.
Problem is the docs on implementing your own formatter are pretty thin and
Google does not seem to find anything useable either.
- Has anyone implemented a custom formatter in a real-world application?
- Is there a book covering custom formatters in depth?
- How do I override the abstract properties SurrogateSelector, Binder, and
Context?
- Where does the FormatterServices class utility come into the equation?
Thanks,
Andreas
I need to serialize/deserialize some pretty simple data structures (no
inheritance, few has relationships, ~20 classes) in three formats. One is
XML (structure is not important as long as it's human-readable and
modifiable), and two are proprietary binary formats. For XML I'll use the
SoapFormatter, no sweat.
For the two other formats I would like to implement my own formatters.
Problem is the docs on implementing your own formatter are pretty thin and
Google does not seem to find anything useable either.
- Has anyone implemented a custom formatter in a real-world application?
- Is there a book covering custom formatters in depth?
- How do I override the abstract properties SurrogateSelector, Binder, and
Context?
- Where does the FormatterServices class utility come into the equation?
Thanks,
Andreas