mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Consistently use simplejson to loading and dumping JSON. (#2817)
* Consistently use simplejson to loading and dumping JSON. This introduces the new functions redash.utils.json_dumps and redash.utils.json_loads and simplifies the custom encoder setup. UUIDs are now handled by the default encoder, too. Fixes #2807. Use string comparison in parse_boolean instead of the (simple)json module.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import datetime
|
||||
import json
|
||||
from unittest import TestCase
|
||||
|
||||
from redash.query_runner.prometheus import get_instant_rows, get_range_rows
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user