def dumps(obj):
if not isinstance(obj, dict):<EOL><INDENT>raise TypeError('<STR_LIT>' + type(obj).__name__)<EOL><DEDENT>return '<STR_LIT:\n>'.join(_dumps(obj, level=<NUM_LIT:0>)) + '<STR_LIT:\n>'<EOL>
Serializes a dictionary into ACF data.
:param obj: A dictionary to serialize.
:return: ACF data.