OParl / liboparl

GLib-based library for OParl client applications
GNU Lesser General Public License v3.0
6 stars 0 forks source link

Check wether GeoJSON should be returned as string #8

Open eFrane opened 7 years ago

eFrane commented 7 years ago

Currently GeoJSON fields are returned in their native glib-json representation which can be difficult to use for programmers accessing liboparl via gobject-introspection in e.g. python.

We should do some research on wether it would be better to return the full GeoJSON string and let the user deal with it however they wish.

konstin commented 7 years ago

While I haven't looked at the details, I suggest returning json as this is the data type. It might also be reasonable to include a geojson validator in liboparl.

eFrane commented 7 years ago

@konstin: Do you mean as JSON String or as JSON Object?