Commit 8a28d08f authored by Samuel GAIST's avatar Samuel GAIST

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

parent 9c269be4
......@@ -44,7 +44,7 @@ Validation for experiments
import os
import collections
import simplejson
import simplejson as json
from . import utils
from . import algorithm
......@@ -1306,7 +1306,7 @@ class Experiment(object):
str: The JSON representation for this object
"""
return simplejson.dumps(self.data, indent=indent, cls=utils.NumpyJSONEncoder)
return json.dumps(self.data, indent=indent, cls=utils.NumpyJSONEncoder)
def __str__(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment