0

I wondering that which is the best libray to convert XML to Java Object easily.

I have used XStream but i am not getting what i want.

I want to pass this xml.

http://webservices.nextbus.com/service/publicXMLFeed?command=routeConfig&a=ttc&r=54

Please, suggest me some good library.

1

1 Answer 1

1

XStream and JAXB allows you to convert an XML Schema (XSD) file into a collection of Java classes. This may be more "structured" than the XMLEncoder/Serializable approach that Andy's (excellent, by the way) answer provides.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.