Custom JSON formats


#1

Hi!

We have a few services with JSON API, but their output format differs from http://redash.readthedocs.io/en/latest/dev/results_format.html. Can I reformat results with redash queries, for example in python custom query? Or get_query_result() call will fails anyway?


#2

get_query_result will fail anyway, but if you use the Python data source, you can use the requests library to make the API call and do whatever you want with the data.

But as a more general solution, I was thinking of either adding support for various “general” JSON response types (like a list of objects) or adding support for some JSON query language (there are a few).


#3

List of objects will be awesome!