Rav
Rav

Reputation: 1

deserialized a xml file with different extension

Can i deserialize a xml file with custom extension? (.hhh and not .xml)? into reveleant object?

Upvotes: 0

Views: 271

Answers (2)

SLaks
SLaks

Reputation: 887797

Of course.

Extensions are totally irrelevant.
All the parser needs is a stream of bytes.

Upvotes: 3

George Johnston
George Johnston

Reputation: 32268

Yes. The extension is meaningless.

Upvotes: 1

Related Questions