Commit 655189fd authored by Samuel GAIST's avatar Samuel GAIST

[stats] Import simplejson as json to make it easy to swap

parent cd97d426
......@@ -50,7 +50,7 @@ Forward impored from :py:mod:`beat.backend.python.stats`:
import os
import copy
import simplejson
import simplejson as json
from . import schema
from . import prototypes
......@@ -224,7 +224,7 @@ class Statistics(object):
dict: JSON representation
return simplejson.dumps(self._data, indent=indent)
return json.dumps(self._data, indent=indent)
def as_dict(self):
"""Returns self as a dictionary"""
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment