GeoGateway / disloc

Disloc service
0 stars 0 forks source link

classes vs dictionary? #3

Closed webgisdeveloper closed 8 years ago

webgisdeveloper commented 8 years ago

Python code is implemented with dict object, and the code ported JAVA are using classes.

webgisdeveloper commented 8 years ago

more info: http://www.diveintopython3.net/serializing.html#json-unknown-types http://stackoverflow.com/questions/3768895/python-how-to-make-a-class-json-serializable

webgisdeveloper commented 8 years ago

class is a better choice