Skip to main content

dict_json

No overview available.

def dict_json(
data: dict
) - > string

Converts a dictionary into a JSON-formatted string for serialization or data transmission.

Parameters

NameTypeDescription
datadictThe dictionary containing key-value pairs to be serialized into JSON format.

Returns

TypeDescription
stringA JSON string representation of the input dictionary.