You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when I print the response of the pyhafas client, I get a according object as defined in the types package. However I would like to retrieve the freindly public transport format JSON of e.g. an journey. Is that already possible (and I overlooked it somehow) or would it be feasible to implement ? I could also offer to submit a PR for that.
The text was updated successfully, but these errors were encountered:
I just experimented a bit with jsonpickle which seems to be able to do the trick. It serializes object graphs and even allows to deserialize them again. Would this be an option? I guess it makes sense to use an existing library instead of implementing something on our own. However one could also argue, that it makes more sense to keep this in the software, that makes use of pyhafas. Or this this a feature which could fit into pyhafas?
Currently when I print the response of the pyhafas client, I get a according object as defined in the types package. However I would like to retrieve the freindly public transport format JSON of e.g. an journey. Is that already possible (and I overlooked it somehow) or would it be feasible to implement ? I could also offer to submit a PR for that.
The text was updated successfully, but these errors were encountered: