Skip to content

Commit 7199385

Browse files
authored
Update README.md
1 parent 82bed60 commit 7199385

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

README.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,29 +1036,23 @@ JSON is text, written with JavaScript object notation. JSON is a syntax for stor
10361036
It is commonly used for transmitting data in web applications (e.g., sending some data from the server to the client, so it can be displayed on a web page
10371037
and vice versa
10381038
- `json.loads()`
1039-
-json. load() takes a file object and returns the json object. A JSON object contains data in the form of key/value pair. The keys are strings and the values are the JSON types
1039+
- take a file object and returns the json object. A JSON object contains data in the form of key/value pair. The keys are strings and the values are the JSON types
10401040
- `json.dumps()`
10411041
-json.dumps() function converts a Python object into a json string
10421042
.It is the exact opposite of json.loads.
10431043
10441044
## THIS IS THE ENCODING DECODING LIST
1045-
JSON Python
1045+
| JSON| Python |
1046+
| object | DICT |
1047+
| array|list |
1048+
| string | str |
1049+
| int | int |
1050+
| real | number float |
1051+
| true |true |
1052+
| False | False |
1053+
|NULL | NONE |
10461054
1047-
object dict
10481055
1049-
array list
1050-
1051-
string str
1052-
1053-
int int
1054-
1055-
real number float
1056-
1057-
true True
1058-
1059-
false False
1060-
1061-
null None
10621056
10631057
10641058
- ` Encoding is from python to JSON(final type)`

0 commit comments

Comments
 (0)