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