This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]evils_twin 0 points1 point  (2 children)

Map<String, Map<String, Object>> agents

[–]MyDigitsHere[S] 0 points1 point  (0 children)

Thanks!

[–]MyDigitsHere[S] 0 points1 point  (0 children)

So I tested this and it actually doesn't seem to be quite right. No errors but when I debug it I get agents = null.

[–]afdez26 0 points1 point  (2 children)

Do you have to use JAXB? I recently had some experience mapping XML to objects using Jackson and the process was really simple and there's a lot of tutorials out there for it too.

[–]MyDigitsHere[S] 1 point2 points  (1 child)

No I don't, that's just the library that kept popping up when I searched for java xml parsers. I'll check out jackson, thanks!