How to Convert Java Object in to GeoJSON (Required by d3 Graph) [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 10 months ago . I want to convert java List object into D3 GeoJSON . Is there any java api available that help to convert java object to GeoJSON object. I want to display graph in d3. Can anyone help me to solve this problem? 回答1: GeoJSON is very simple; a general JSON library should be all you need. Here's how you could