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