Select the true statements about the json.-dumps () function. (Select two answers.)
The json.dumps() function is used to convert a Python object into a JSON string1. It takes Python data as its argument, such as a dictionary or a list, and returns a JSON string.
1. It returns a JSON string.
This statement is true because the json.dumps () function takes a Python object as its argument and returns a JSON-formatted string that represents the object. For example, json.dumps ([1, 2, 3]) returns '[1, 2, 3]'.
Evangelina
6 months agoKerry
6 months agoGlen
6 months agoEdna
6 months agoMattie
7 months agoEden
7 months agoZoila
7 months agoReyes
7 months agoMabelle
7 months agoEdward
7 months agoElouise
7 months agoFreeman
7 months agoTamie
8 months agoSharita
8 months agoHuey
8 months agoJin
8 months agoSlyvia
8 months ago