rex.utilities.utilities.jsonify_dict

jsonify_dict(di)[source]

Jsonify a dictionary into a string with handling for int/float keys.

Parameters

di (dict) – Dictionary to be jsonified.

Returns

sdi (str) – Jsonified dictionary. Int/float keys will be represented as strings because json objects outside of python cannot have int/float keys.