Open GoogleCodeExporter opened 8 years ago
Effectively, properties values which are not String are not supported, as
stated in https://code.google.com/p/osmbonuspack/wiki/GeoJSON
For nested properties, would you like to have the whole value converted as a
String?
In your extent exemple, a String containing this:
{"bottom":1,"left":2,"right":3,"top":4}
Original comment by mathieu....@gmail.com
on 9 Feb 2015 at 1:53
I think if I get String I have to wrap it in JsonElement again to parse and
extract data, so it is a little redundant. It's better to have method returned
nested properties as JsonElement.
Original comment by DmitryIl...@gmail.com
on 9 Feb 2015 at 2:01
Not so simple: those properties are stored in KML Placemark Extended Data.
Which are not coming from JSON but from XML.
Convert nested properties as a String is the best I can reasonably do.
Original comment by mathieu....@gmail.com
on 10 Feb 2015 at 10:53
Code change just commited, with solution as described above.
Not ideal, but better than a global parsing exception.
Original comment by mathieu....@gmail.com
on 21 Feb 2015 at 5:10
Original issue reported on code.google.com by
DmitryIl...@gmail.com
on 9 Feb 2015 at 6:38