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
10 months agoKerry
10 months agoGlen
10 months agoEdna
11 months agoMattie
11 months agoEden
11 months agoZoila
11 months agoReyes
11 months agoMabelle
12 months agoEdward
12 months agoElouise
12 months agoFreeman
12 months agoTamie
12 months agoSharita
12 months agoHuey
12 months agoJin
12 months agoSlyvia
12 months ago