Why? That would just confuse people.
Just one that allows same/remote connections and a few methods: get the data and check for errors.
The parsing and validation should be done on the client after the data has been received and for that we have xml parsers and json parsers.
The data transfer should have nothing to do with its format or content.