[{"data":1,"prerenderedAt":2065},["ShallowReactive",2],{"doc-\u002Fexamples\u002Fpython-json-parser-example":3},{"id":4,"title":5,"body":6,"description":2058,"extension":2059,"meta":2060,"navigation":74,"path":2061,"seo":2062,"stem":2063,"__hash__":2064},"content\u002Fexamples\u002Fpython-json-parser-example.md","Python JSON Parser Example",{"type":7,"value":8,"toc":2024},"minimark",[9,13,17,20,44,47,199,213,218,221,239,242,256,260,263,280,346,349,371,377,383,506,511,514,537,540,550,553,692,702,710,714,717,873,875,895,899,922,933,940,946,1074,1076,1095,1098,1102,1105,1158,1161,1374,1376,1456,1460,1465,1554,1564,1583,1586,1598,1602,1605,1609,1612,1631,1634,1651,1658,1666,1669,1681,1684,1696,1700,1703,1758,1763,1790,1794,1797,1863,1865,1888,1894,1898,1901,1915,1922,1926,1935,1943,1947,1955,1959,1962,1966,1972,1976,2020],[10,11,5],"h1",{"id":12},"python-json-parser-example",[14,15,16],"p",{},"This beginner-friendly example shows how to parse JSON in Python and turn it into normal Python data.",[14,18,19],{},"You will learn:",[21,22,23,32,38,41],"ul",{},[24,25,26,27,31],"li",{},"how to import the ",[28,29,30],"code",{},"json"," module",[24,33,34,35],{},"how to parse a JSON string with ",[28,36,37],{},"json.loads()",[24,39,40],{},"how JSON becomes Python data types",[24,42,43],{},"how to read values from the parsed result safely",[14,45,46],{},"If you want the shortest working example first, start here:",[48,49,54],"pre",{"className":50,"code":51,"language":52,"meta":53,"style":53},"language-python shiki shiki-themes material-theme-lighter github-light github-dark","import json\n\njson_text = '{\"name\": \"Alice\", \"age\": 25, \"skills\": [\"Python\", \"SQL\"]}'\n\ndata = json.loads(json_text)\n\nprint(data)\nprint(data[\"name\"])\nprint(data[\"skills\"][0])\n","python","",[28,55,56,69,76,97,102,130,135,149,172],{"__ignoreMap":53},[57,58,61,65],"span",{"class":59,"line":60},"line",1,[57,62,64],{"class":63},"sVHd0","import",[57,66,68],{"class":67},"su5hD"," json\n",[57,70,72],{"class":59,"line":71},2,[57,73,75],{"emptyLinePlaceholder":74},true,"\n",[57,77,79,82,86,90,94],{"class":59,"line":78},3,[57,80,81],{"class":67},"json_text ",[57,83,85],{"class":84},"smGrS","=",[57,87,89],{"class":88},"sjJ54"," '",[57,91,93],{"class":92},"s_sjI","{\"name\": \"Alice\", \"age\": 25, \"skills\": [\"Python\", \"SQL\"]}",[57,95,96],{"class":88},"'\n",[57,98,100],{"class":59,"line":99},4,[57,101,75],{"emptyLinePlaceholder":74},[57,103,105,108,110,113,117,121,124,127],{"class":59,"line":104},5,[57,106,107],{"class":67},"data ",[57,109,85],{"class":84},[57,111,112],{"class":67}," json",[57,114,116],{"class":115},"sP7_E",".",[57,118,120],{"class":119},"slqww","loads",[57,122,123],{"class":115},"(",[57,125,126],{"class":119},"json_text",[57,128,129],{"class":115},")\n",[57,131,133],{"class":59,"line":132},6,[57,134,75],{"emptyLinePlaceholder":74},[57,136,138,142,144,147],{"class":59,"line":137},7,[57,139,141],{"class":140},"sptTA","print",[57,143,123],{"class":115},[57,145,146],{"class":119},"data",[57,148,129],{"class":115},[57,150,152,154,156,158,161,164,167,169],{"class":59,"line":151},8,[57,153,141],{"class":140},[57,155,123],{"class":115},[57,157,146],{"class":119},[57,159,160],{"class":115},"[",[57,162,163],{"class":88},"\"",[57,165,166],{"class":92},"name",[57,168,163],{"class":88},[57,170,171],{"class":115},"])\n",[57,173,175,177,179,181,183,185,188,190,193,197],{"class":59,"line":174},9,[57,176,141],{"class":140},[57,178,123],{"class":115},[57,180,146],{"class":119},[57,182,160],{"class":115},[57,184,163],{"class":88},[57,186,187],{"class":92},"skills",[57,189,163],{"class":88},[57,191,192],{"class":115},"][",[57,194,196],{"class":195},"srdBf","0",[57,198,171],{"class":115},[14,200,201,205,206,208,209,212],{},[202,203,204],"strong",{},"Note:"," Use ",[28,207,37],{}," for a JSON string. Use ",[28,210,211],{},"json.load()"," when reading JSON from a file.",[214,215,217],"h2",{"id":216},"what-this-example-shows","What this example shows",[14,219,220],{},"In this page, the script will show you how to:",[21,222,223,228,233,236],{},[24,224,225,226,31],{},"import Python’s built-in ",[28,227,30],{},[24,229,230,231],{},"parse JSON text with ",[28,232,37],{},[24,234,235],{},"understand what Python data type you get back",[24,237,238],{},"access values from dictionaries, lists, and nested data",[14,240,241],{},"This is a common pattern when working with:",[21,243,244,247,250,253],{},[24,245,246],{},"API responses",[24,248,249],{},"configuration files",[24,251,252],{},"saved app data",[24,254,255],{},"practice projects that use structured data",[214,257,259],{"id":258},"example-input-json","Example input JSON",[14,261,262],{},"Here is a small JSON string. It includes:",[21,264,265,268,271,274,277],{},[24,266,267],{},"a string",[24,269,270],{},"a number",[24,272,273],{},"a boolean",[24,275,276],{},"a list",[24,278,279],{},"a nested object",[48,281,283],{"className":50,"code":282,"language":52,"meta":53,"style":53},"json_text = \"\"\"\n{\n    \"name\": \"Alice\",\n    \"age\": 25,\n    \"active\": true,\n    \"skills\": [\"Python\", \"SQL\"],\n    \"address\": {\n        \"city\": \"London\"\n    }\n}\n\"\"\"\n",[28,284,285,294,299,304,309,314,319,324,329,334,340],{"__ignoreMap":53},[57,286,287,289,291],{"class":59,"line":60},[57,288,81],{"class":67},[57,290,85],{"class":84},[57,292,293],{"class":88}," \"\"\"\n",[57,295,296],{"class":59,"line":71},[57,297,298],{"class":92},"{\n",[57,300,301],{"class":59,"line":78},[57,302,303],{"class":92},"    \"name\": \"Alice\",\n",[57,305,306],{"class":59,"line":99},[57,307,308],{"class":92},"    \"age\": 25,\n",[57,310,311],{"class":59,"line":104},[57,312,313],{"class":92},"    \"active\": true,\n",[57,315,316],{"class":59,"line":132},[57,317,318],{"class":92},"    \"skills\": [\"Python\", \"SQL\"],\n",[57,320,321],{"class":59,"line":137},[57,322,323],{"class":92},"    \"address\": {\n",[57,325,326],{"class":59,"line":151},[57,327,328],{"class":92},"        \"city\": \"London\"\n",[57,330,331],{"class":59,"line":174},[57,332,333],{"class":92},"    }\n",[57,335,337],{"class":59,"line":336},10,[57,338,339],{"class":92},"}\n",[57,341,343],{"class":59,"line":342},11,[57,344,345],{"class":88},"\"\"\"\n",[14,347,348],{},"A few important things to notice:",[21,350,351,358,364],{},[24,352,353,354,357],{},"JSON uses ",[202,355,356],{},"double quotes"," around keys and string values.",[24,359,360,363],{},[28,361,362],{},"true"," in JSON is lowercase.",[24,365,366,367,370],{},"This is still just ",[202,368,369],{},"text"," until Python parses it.",[214,372,374,375],{"id":373},"parse-json-with-jsonloads","Parse JSON with ",[28,376,37],{},[14,378,379,380,382],{},"Use ",[28,381,37],{}," when your JSON is stored in a string.",[48,384,386],{"className":50,"code":385,"language":52,"meta":53,"style":53},"import json\n\njson_text = \"\"\"\n{\n    \"name\": \"Alice\",\n    \"age\": 25,\n    \"active\": true,\n    \"skills\": [\"Python\", \"SQL\"],\n    \"address\": {\n        \"city\": \"London\"\n    }\n}\n\"\"\"\n\ndata = json.loads(json_text)\n\nprint(data)\nprint(type(data))\n",[28,387,388,394,398,406,410,414,418,422,426,430,434,438,443,448,453,472,477,488],{"__ignoreMap":53},[57,389,390,392],{"class":59,"line":60},[57,391,64],{"class":63},[57,393,68],{"class":67},[57,395,396],{"class":59,"line":71},[57,397,75],{"emptyLinePlaceholder":74},[57,399,400,402,404],{"class":59,"line":78},[57,401,81],{"class":67},[57,403,85],{"class":84},[57,405,293],{"class":88},[57,407,408],{"class":59,"line":99},[57,409,298],{"class":92},[57,411,412],{"class":59,"line":104},[57,413,303],{"class":92},[57,415,416],{"class":59,"line":132},[57,417,308],{"class":92},[57,419,420],{"class":59,"line":137},[57,421,313],{"class":92},[57,423,424],{"class":59,"line":151},[57,425,318],{"class":92},[57,427,428],{"class":59,"line":174},[57,429,323],{"class":92},[57,431,432],{"class":59,"line":336},[57,433,328],{"class":92},[57,435,436],{"class":59,"line":342},[57,437,333],{"class":92},[57,439,441],{"class":59,"line":440},12,[57,442,339],{"class":92},[57,444,446],{"class":59,"line":445},13,[57,447,345],{"class":88},[57,449,451],{"class":59,"line":450},14,[57,452,75],{"emptyLinePlaceholder":74},[57,454,456,458,460,462,464,466,468,470],{"class":59,"line":455},15,[57,457,107],{"class":67},[57,459,85],{"class":84},[57,461,112],{"class":67},[57,463,116],{"class":115},[57,465,120],{"class":119},[57,467,123],{"class":115},[57,469,126],{"class":119},[57,471,129],{"class":115},[57,473,475],{"class":59,"line":474},16,[57,476,75],{"emptyLinePlaceholder":74},[57,478,480,482,484,486],{"class":59,"line":479},17,[57,481,141],{"class":140},[57,483,123],{"class":115},[57,485,146],{"class":119},[57,487,129],{"class":115},[57,489,491,493,495,499,501,503],{"class":59,"line":490},18,[57,492,141],{"class":140},[57,494,123],{"class":115},[57,496,498],{"class":497},"sZMiF","type",[57,500,123],{"class":115},[57,502,146],{"class":119},[57,504,505],{"class":115},"))\n",[507,508,510],"h3",{"id":509},"what-this-does","What this does",[14,512,513],{},"The key line is:",[48,515,517],{"className":50,"code":516,"language":52,"meta":53,"style":53},"data = json.loads(json_text)\n",[28,518,519],{"__ignoreMap":53},[57,520,521,523,525,527,529,531,533,535],{"class":59,"line":60},[57,522,107],{"class":67},[57,524,85],{"class":84},[57,526,112],{"class":67},[57,528,116],{"class":115},[57,530,120],{"class":119},[57,532,123],{"class":115},[57,534,126],{"class":119},[57,536,129],{"class":115},[14,538,539],{},"This converts the JSON text into Python data.",[14,541,542,543,546,547,116],{},"In this example, the top-level JSON value is an ",[202,544,545],{},"object",", so the result becomes a Python ",[202,548,549],{},"dictionary",[14,551,552],{},"Expected output:",[48,554,556],{"className":50,"code":555,"language":52,"meta":53,"style":53},"{'name': 'Alice', 'age': 25, 'active': True, 'skills': ['Python', 'SQL'], 'address': {'city': 'London'}}\n\u003Cclass 'dict'>\n",[28,557,558,673],{"__ignoreMap":53},[57,559,560,563,566,568,570,573,575,578,580,583,585,588,590,592,595,597,599,602,604,606,610,612,614,616,618,620,623,625,628,630,632,634,637,639,642,644,647,649,651,654,656,659,661,663,665,668,670],{"class":59,"line":60},[57,561,562],{"class":115},"{",[57,564,565],{"class":88},"'",[57,567,166],{"class":92},[57,569,565],{"class":88},[57,571,572],{"class":115},":",[57,574,89],{"class":88},[57,576,577],{"class":92},"Alice",[57,579,565],{"class":88},[57,581,582],{"class":115},",",[57,584,89],{"class":88},[57,586,587],{"class":92},"age",[57,589,565],{"class":88},[57,591,572],{"class":115},[57,593,594],{"class":195}," 25",[57,596,582],{"class":115},[57,598,89],{"class":88},[57,600,601],{"class":92},"active",[57,603,565],{"class":88},[57,605,572],{"class":115},[57,607,609],{"class":608},"s39Yj"," True",[57,611,582],{"class":115},[57,613,89],{"class":88},[57,615,187],{"class":92},[57,617,565],{"class":88},[57,619,572],{"class":115},[57,621,622],{"class":115}," [",[57,624,565],{"class":88},[57,626,627],{"class":92},"Python",[57,629,565],{"class":88},[57,631,582],{"class":115},[57,633,89],{"class":88},[57,635,636],{"class":92},"SQL",[57,638,565],{"class":88},[57,640,641],{"class":115},"],",[57,643,89],{"class":88},[57,645,646],{"class":92},"address",[57,648,565],{"class":88},[57,650,572],{"class":115},[57,652,653],{"class":115}," {",[57,655,565],{"class":88},[57,657,658],{"class":92},"city",[57,660,565],{"class":88},[57,662,572],{"class":115},[57,664,89],{"class":88},[57,666,667],{"class":92},"London",[57,669,565],{"class":88},[57,671,672],{"class":115},"}}\n",[57,674,675,678,682,684,687,689],{"class":59,"line":71},[57,676,677],{"class":84},"\u003C",[57,679,681],{"class":680},"sbsja","class",[57,683,89],{"class":88},[57,685,686],{"class":92},"dict",[57,688,565],{"class":88},[57,690,691],{"class":84},">\n",[14,693,694,695,697,698,701],{},"If the JSON started with ",[28,696,160],{}," and ended with ",[28,699,700],{},"]",", the result would usually be a Python list instead.",[14,703,704,705,116],{},"For a deeper explanation of this function, see ",[706,707,709],"a",{"href":708},"\u002Fstandard-library\u002Fjson.loads-function-explained","json.loads() explained",[214,711,713],{"id":712},"read-values-from-parsed-json","Read values from parsed JSON",[14,715,716],{},"Once the JSON is parsed, you can use normal Python indexing to read values.",[48,718,720],{"className":50,"code":719,"language":52,"meta":53,"style":53},"import json\n\njson_text = \"\"\"\n{\n    \"name\": \"Alice\",\n    \"age\": 25,\n    \"active\": true,\n    \"skills\": [\"Python\", \"SQL\"],\n    \"address\": {\n        \"city\": \"London\"\n    }\n}\n\"\"\"\n\ndata = json.loads(json_text)\n\nprint(data[\"name\"])\nprint(data[\"skills\"][0])\nprint(data[\"address\"][\"city\"])\n",[28,721,722,728,732,740,744,748,752,756,760,764,768,772,776,780,784,802,806,824,846],{"__ignoreMap":53},[57,723,724,726],{"class":59,"line":60},[57,725,64],{"class":63},[57,727,68],{"class":67},[57,729,730],{"class":59,"line":71},[57,731,75],{"emptyLinePlaceholder":74},[57,733,734,736,738],{"class":59,"line":78},[57,735,81],{"class":67},[57,737,85],{"class":84},[57,739,293],{"class":88},[57,741,742],{"class":59,"line":99},[57,743,298],{"class":92},[57,745,746],{"class":59,"line":104},[57,747,303],{"class":92},[57,749,750],{"class":59,"line":132},[57,751,308],{"class":92},[57,753,754],{"class":59,"line":137},[57,755,313],{"class":92},[57,757,758],{"class":59,"line":151},[57,759,318],{"class":92},[57,761,762],{"class":59,"line":174},[57,763,323],{"class":92},[57,765,766],{"class":59,"line":336},[57,767,328],{"class":92},[57,769,770],{"class":59,"line":342},[57,771,333],{"class":92},[57,773,774],{"class":59,"line":440},[57,775,339],{"class":92},[57,777,778],{"class":59,"line":445},[57,779,345],{"class":88},[57,781,782],{"class":59,"line":450},[57,783,75],{"emptyLinePlaceholder":74},[57,785,786,788,790,792,794,796,798,800],{"class":59,"line":455},[57,787,107],{"class":67},[57,789,85],{"class":84},[57,791,112],{"class":67},[57,793,116],{"class":115},[57,795,120],{"class":119},[57,797,123],{"class":115},[57,799,126],{"class":119},[57,801,129],{"class":115},[57,803,804],{"class":59,"line":474},[57,805,75],{"emptyLinePlaceholder":74},[57,807,808,810,812,814,816,818,820,822],{"class":59,"line":479},[57,809,141],{"class":140},[57,811,123],{"class":115},[57,813,146],{"class":119},[57,815,160],{"class":115},[57,817,163],{"class":88},[57,819,166],{"class":92},[57,821,163],{"class":88},[57,823,171],{"class":115},[57,825,826,828,830,832,834,836,838,840,842,844],{"class":59,"line":490},[57,827,141],{"class":140},[57,829,123],{"class":115},[57,831,146],{"class":119},[57,833,160],{"class":115},[57,835,163],{"class":88},[57,837,187],{"class":92},[57,839,163],{"class":88},[57,841,192],{"class":115},[57,843,196],{"class":195},[57,845,171],{"class":115},[57,847,849,851,853,855,857,859,861,863,865,867,869,871],{"class":59,"line":848},19,[57,850,141],{"class":140},[57,852,123],{"class":115},[57,854,146],{"class":119},[57,856,160],{"class":115},[57,858,163],{"class":88},[57,860,646],{"class":92},[57,862,163],{"class":88},[57,864,192],{"class":115},[57,866,163],{"class":88},[57,868,658],{"class":92},[57,870,163],{"class":88},[57,872,171],{"class":115},[14,874,552],{},[48,876,878],{"className":50,"code":877,"language":52,"meta":53,"style":53},"Alice\nPython\nLondon\n",[28,879,880,885,890],{"__ignoreMap":53},[57,881,882],{"class":59,"line":60},[57,883,884],{"class":67},"Alice\n",[57,886,887],{"class":59,"line":71},[57,888,889],{"class":67},"Python\n",[57,891,892],{"class":59,"line":78},[57,893,894],{"class":67},"London\n",[507,896,898],{"id":897},"how-each-line-works","How each line works",[21,900,901,907,916],{},[24,902,903,906],{},[28,904,905],{},"data[\"name\"]"," gets a top-level value from the dictionary",[24,908,909,912,913,915],{},[28,910,911],{},"data[\"skills\"][0]"," gets the first item from the ",[28,914,187],{}," list",[24,917,918,921],{},[28,919,920],{},"data[\"address\"][\"city\"]"," gets a nested value step by step",[14,923,924,925,928,929,116],{},"If you try to access a key that does not exist, Python raises a ",[28,926,927],{},"KeyError",". See ",[706,930,932],{"href":931},"\u002Ferrors\u002Fkeyerror-when-accessing-dictionary-values-fix\u002F","how to fix KeyError when accessing dictionary values",[507,934,936,937],{"id":935},"safer-access-with-get","Safer access with ",[28,938,939],{},"get()",[14,941,942,943,945],{},"If you are not sure a key exists, ",[28,944,939],{}," can be safer than direct indexing.",[48,947,949],{"className":50,"code":948,"language":52,"meta":53,"style":53},"import json\n\njson_text = '{\"name\": \"Alice\"}'\ndata = json.loads(json_text)\n\nprint(data.get(\"name\"))\nprint(data.get(\"email\"))\nprint(data.get(\"email\", \"Not provided\"))\n",[28,950,951,957,961,974,992,996,1019,1042],{"__ignoreMap":53},[57,952,953,955],{"class":59,"line":60},[57,954,64],{"class":63},[57,956,68],{"class":67},[57,958,959],{"class":59,"line":71},[57,960,75],{"emptyLinePlaceholder":74},[57,962,963,965,967,969,972],{"class":59,"line":78},[57,964,81],{"class":67},[57,966,85],{"class":84},[57,968,89],{"class":88},[57,970,971],{"class":92},"{\"name\": \"Alice\"}",[57,973,96],{"class":88},[57,975,976,978,980,982,984,986,988,990],{"class":59,"line":99},[57,977,107],{"class":67},[57,979,85],{"class":84},[57,981,112],{"class":67},[57,983,116],{"class":115},[57,985,120],{"class":119},[57,987,123],{"class":115},[57,989,126],{"class":119},[57,991,129],{"class":115},[57,993,994],{"class":59,"line":104},[57,995,75],{"emptyLinePlaceholder":74},[57,997,998,1000,1002,1004,1006,1009,1011,1013,1015,1017],{"class":59,"line":132},[57,999,141],{"class":140},[57,1001,123],{"class":115},[57,1003,146],{"class":119},[57,1005,116],{"class":115},[57,1007,1008],{"class":119},"get",[57,1010,123],{"class":115},[57,1012,163],{"class":88},[57,1014,166],{"class":92},[57,1016,163],{"class":88},[57,1018,505],{"class":115},[57,1020,1021,1023,1025,1027,1029,1031,1033,1035,1038,1040],{"class":59,"line":137},[57,1022,141],{"class":140},[57,1024,123],{"class":115},[57,1026,146],{"class":119},[57,1028,116],{"class":115},[57,1030,1008],{"class":119},[57,1032,123],{"class":115},[57,1034,163],{"class":88},[57,1036,1037],{"class":92},"email",[57,1039,163],{"class":88},[57,1041,505],{"class":115},[57,1043,1044,1046,1048,1050,1052,1054,1056,1058,1060,1062,1064,1067,1070,1072],{"class":59,"line":151},[57,1045,141],{"class":140},[57,1047,123],{"class":115},[57,1049,146],{"class":119},[57,1051,116],{"class":115},[57,1053,1008],{"class":119},[57,1055,123],{"class":115},[57,1057,163],{"class":88},[57,1059,1037],{"class":92},[57,1061,163],{"class":88},[57,1063,582],{"class":115},[57,1065,1066],{"class":88}," \"",[57,1068,1069],{"class":92},"Not provided",[57,1071,163],{"class":88},[57,1073,505],{"class":115},[14,1075,552],{},[48,1077,1079],{"className":50,"code":1078,"language":52,"meta":53,"style":53},"Alice\nNone\nNot provided\n",[28,1080,1081,1085,1090],{"__ignoreMap":53},[57,1082,1083],{"class":59,"line":60},[57,1084,884],{"class":67},[57,1086,1087],{"class":59,"line":71},[57,1088,1089],{"class":608},"None\n",[57,1091,1092],{"class":59,"line":78},[57,1093,1094],{"class":67},"Not provided\n",[14,1096,1097],{},"This helps avoid errors when some fields may be missing.",[214,1099,1101],{"id":1100},"json-types-and-python-types","JSON types and Python types",[14,1103,1104],{},"When Python parses JSON, the data types change like this:",[21,1106,1107,1112,1118,1124,1134,1150],{},[24,1108,1109,1110],{},"JSON object → Python ",[28,1111,686],{},[24,1113,1114,1115],{},"JSON array → Python ",[28,1116,1117],{},"list",[24,1119,1120,1121],{},"JSON string → Python ",[28,1122,1123],{},"str",[24,1125,1126,1127,1130,1131],{},"JSON number → Python ",[28,1128,1129],{},"int"," or ",[28,1132,1133],{},"float",[24,1135,1136,1137,1139,1140,1143,1144,1139,1147],{},"JSON ",[28,1138,362],{}," \u002F ",[28,1141,1142],{},"false"," → Python ",[28,1145,1146],{},"True",[28,1148,1149],{},"False",[24,1151,1136,1152,1143,1155],{},[28,1153,1154],{},"null",[28,1156,1157],{},"None",[14,1159,1160],{},"Example:",[48,1162,1164],{"className":50,"code":1163,"language":52,"meta":53,"style":53},"import json\n\njson_text = \"\"\"\n{\n    \"title\": \"Book\",\n    \"price\": 19.99,\n    \"in_stock\": true,\n    \"tags\": [\"fiction\", \"popular\"],\n    \"discount\": null\n}\n\"\"\"\n\ndata = json.loads(json_text)\n\nprint(type(data))\nprint(type(data[\"title\"]))\nprint(type(data[\"price\"]))\nprint(type(data[\"in_stock\"]))\nprint(type(data[\"tags\"]))\nprint(data[\"discount\"])\n",[28,1165,1166,1172,1176,1184,1188,1193,1198,1203,1208,1213,1217,1221,1225,1243,1247,1261,1285,1308,1331,1354],{"__ignoreMap":53},[57,1167,1168,1170],{"class":59,"line":60},[57,1169,64],{"class":63},[57,1171,68],{"class":67},[57,1173,1174],{"class":59,"line":71},[57,1175,75],{"emptyLinePlaceholder":74},[57,1177,1178,1180,1182],{"class":59,"line":78},[57,1179,81],{"class":67},[57,1181,85],{"class":84},[57,1183,293],{"class":88},[57,1185,1186],{"class":59,"line":99},[57,1187,298],{"class":92},[57,1189,1190],{"class":59,"line":104},[57,1191,1192],{"class":92},"    \"title\": \"Book\",\n",[57,1194,1195],{"class":59,"line":132},[57,1196,1197],{"class":92},"    \"price\": 19.99,\n",[57,1199,1200],{"class":59,"line":137},[57,1201,1202],{"class":92},"    \"in_stock\": true,\n",[57,1204,1205],{"class":59,"line":151},[57,1206,1207],{"class":92},"    \"tags\": [\"fiction\", \"popular\"],\n",[57,1209,1210],{"class":59,"line":174},[57,1211,1212],{"class":92},"    \"discount\": null\n",[57,1214,1215],{"class":59,"line":336},[57,1216,339],{"class":92},[57,1218,1219],{"class":59,"line":342},[57,1220,345],{"class":88},[57,1222,1223],{"class":59,"line":440},[57,1224,75],{"emptyLinePlaceholder":74},[57,1226,1227,1229,1231,1233,1235,1237,1239,1241],{"class":59,"line":445},[57,1228,107],{"class":67},[57,1230,85],{"class":84},[57,1232,112],{"class":67},[57,1234,116],{"class":115},[57,1236,120],{"class":119},[57,1238,123],{"class":115},[57,1240,126],{"class":119},[57,1242,129],{"class":115},[57,1244,1245],{"class":59,"line":450},[57,1246,75],{"emptyLinePlaceholder":74},[57,1248,1249,1251,1253,1255,1257,1259],{"class":59,"line":455},[57,1250,141],{"class":140},[57,1252,123],{"class":115},[57,1254,498],{"class":497},[57,1256,123],{"class":115},[57,1258,146],{"class":119},[57,1260,505],{"class":115},[57,1262,1263,1265,1267,1269,1271,1273,1275,1277,1280,1282],{"class":59,"line":474},[57,1264,141],{"class":140},[57,1266,123],{"class":115},[57,1268,498],{"class":497},[57,1270,123],{"class":115},[57,1272,146],{"class":119},[57,1274,160],{"class":115},[57,1276,163],{"class":88},[57,1278,1279],{"class":92},"title",[57,1281,163],{"class":88},[57,1283,1284],{"class":115},"]))\n",[57,1286,1287,1289,1291,1293,1295,1297,1299,1301,1304,1306],{"class":59,"line":479},[57,1288,141],{"class":140},[57,1290,123],{"class":115},[57,1292,498],{"class":497},[57,1294,123],{"class":115},[57,1296,146],{"class":119},[57,1298,160],{"class":115},[57,1300,163],{"class":88},[57,1302,1303],{"class":92},"price",[57,1305,163],{"class":88},[57,1307,1284],{"class":115},[57,1309,1310,1312,1314,1316,1318,1320,1322,1324,1327,1329],{"class":59,"line":490},[57,1311,141],{"class":140},[57,1313,123],{"class":115},[57,1315,498],{"class":497},[57,1317,123],{"class":115},[57,1319,146],{"class":119},[57,1321,160],{"class":115},[57,1323,163],{"class":88},[57,1325,1326],{"class":92},"in_stock",[57,1328,163],{"class":88},[57,1330,1284],{"class":115},[57,1332,1333,1335,1337,1339,1341,1343,1345,1347,1350,1352],{"class":59,"line":848},[57,1334,141],{"class":140},[57,1336,123],{"class":115},[57,1338,498],{"class":497},[57,1340,123],{"class":115},[57,1342,146],{"class":119},[57,1344,160],{"class":115},[57,1346,163],{"class":88},[57,1348,1349],{"class":92},"tags",[57,1351,163],{"class":88},[57,1353,1284],{"class":115},[57,1355,1357,1359,1361,1363,1365,1367,1370,1372],{"class":59,"line":1356},20,[57,1358,141],{"class":140},[57,1360,123],{"class":115},[57,1362,146],{"class":119},[57,1364,160],{"class":115},[57,1366,163],{"class":88},[57,1368,1369],{"class":92},"discount",[57,1371,163],{"class":88},[57,1373,171],{"class":115},[14,1375,552],{},[48,1377,1379],{"className":50,"code":1378,"language":52,"meta":53,"style":53},"\u003Cclass 'dict'>\n\u003Cclass 'str'>\n\u003Cclass 'float'>\n\u003Cclass 'bool'>\n\u003Cclass 'list'>\nNone\n",[28,1380,1381,1395,1409,1423,1438,1452],{"__ignoreMap":53},[57,1382,1383,1385,1387,1389,1391,1393],{"class":59,"line":60},[57,1384,677],{"class":84},[57,1386,681],{"class":680},[57,1388,89],{"class":88},[57,1390,686],{"class":92},[57,1392,565],{"class":88},[57,1394,691],{"class":84},[57,1396,1397,1399,1401,1403,1405,1407],{"class":59,"line":71},[57,1398,677],{"class":84},[57,1400,681],{"class":680},[57,1402,89],{"class":88},[57,1404,1123],{"class":92},[57,1406,565],{"class":88},[57,1408,691],{"class":84},[57,1410,1411,1413,1415,1417,1419,1421],{"class":59,"line":78},[57,1412,677],{"class":84},[57,1414,681],{"class":680},[57,1416,89],{"class":88},[57,1418,1133],{"class":92},[57,1420,565],{"class":88},[57,1422,691],{"class":84},[57,1424,1425,1427,1429,1431,1434,1436],{"class":59,"line":99},[57,1426,677],{"class":84},[57,1428,681],{"class":680},[57,1430,89],{"class":88},[57,1432,1433],{"class":92},"bool",[57,1435,565],{"class":88},[57,1437,691],{"class":84},[57,1439,1440,1442,1444,1446,1448,1450],{"class":59,"line":104},[57,1441,677],{"class":84},[57,1443,681],{"class":680},[57,1445,89],{"class":88},[57,1447,1117],{"class":92},[57,1449,565],{"class":88},[57,1451,691],{"class":84},[57,1453,1454],{"class":59,"line":132},[57,1455,1089],{"class":608},[214,1457,1459],{"id":1458},"parse-json-from-a-file","Parse JSON from a file",[14,1461,379,1462,1464],{},[28,1463,211],{}," when the JSON is in a file.",[48,1466,1468],{"className":50,"code":1467,"language":52,"meta":53,"style":53},"import json\n\nwith open(\"data.json\", \"r\") as file:\n    data = json.load(file)\n\nprint(data)\n",[28,1469,1470,1476,1480,1519,1540,1544],{"__ignoreMap":53},[57,1471,1472,1474],{"class":59,"line":60},[57,1473,64],{"class":63},[57,1475,68],{"class":67},[57,1477,1478],{"class":59,"line":71},[57,1479,75],{"emptyLinePlaceholder":74},[57,1481,1482,1485,1488,1490,1492,1495,1497,1499,1501,1504,1506,1509,1512,1516],{"class":59,"line":78},[57,1483,1484],{"class":63},"with",[57,1486,1487],{"class":140}," open",[57,1489,123],{"class":115},[57,1491,163],{"class":88},[57,1493,1494],{"class":92},"data.json",[57,1496,163],{"class":88},[57,1498,582],{"class":115},[57,1500,1066],{"class":88},[57,1502,1503],{"class":92},"r",[57,1505,163],{"class":88},[57,1507,1508],{"class":115},")",[57,1510,1511],{"class":63}," as",[57,1513,1515],{"class":1514},"sMMDD"," file",[57,1517,1518],{"class":115},":\n",[57,1520,1521,1524,1526,1528,1530,1533,1535,1538],{"class":59,"line":99},[57,1522,1523],{"class":67},"    data ",[57,1525,85],{"class":84},[57,1527,112],{"class":67},[57,1529,116],{"class":115},[57,1531,1532],{"class":119},"load",[57,1534,123],{"class":115},[57,1536,1537],{"class":1514},"file",[57,1539,129],{"class":115},[57,1541,1542],{"class":59,"line":104},[57,1543,75],{"emptyLinePlaceholder":74},[57,1545,1546,1548,1550,1552],{"class":59,"line":132},[57,1547,141],{"class":140},[57,1549,123],{"class":115},[57,1551,146],{"class":119},[57,1553,129],{"class":115},[507,1555,1557,1560,1561],{"id":1556},"load-vs-loads",[28,1558,1559],{},"load()"," vs ",[28,1562,1563],{},"loads()",[21,1565,1566,1575],{},[24,1567,1568,1571,1572],{},[28,1569,1570],{},"json.load(file)"," reads JSON from a ",[202,1573,1574],{},"file object",[24,1576,1577,1571,1580],{},[28,1578,1579],{},"json.loads(text)",[202,1581,1582],{},"string",[14,1584,1585],{},"That is the main difference.",[14,1587,1588,1589,1593,1594,116],{},"If you want a full guide, see ",[706,1590,1592],{"href":1591},"\u002Fstandard-library\u002Fjson.load-function-explained","json.load() explained"," and ",[706,1595,1597],{"href":1596},"\u002Fhow-to\u002Fhow-to-parse-json-in-python\u002F","how to parse JSON in Python",[214,1599,1601],{"id":1600},"common-errors-beginners-make","Common errors beginners make",[14,1603,1604],{},"Here are some common problems when parsing JSON.",[507,1606,1608],{"id":1607},"_1-using-single-quotes-inside-json-text","1. Using single quotes inside JSON text",[14,1610,1611],{},"This is invalid JSON:",[48,1613,1615],{"className":50,"code":1614,"language":52,"meta":53,"style":53},"json_text = \"{'name': 'Alice'}\"\n",[28,1616,1617],{"__ignoreMap":53},[57,1618,1619,1621,1623,1625,1628],{"class":59,"line":60},[57,1620,81],{"class":67},[57,1622,85],{"class":84},[57,1624,1066],{"class":88},[57,1626,1627],{"class":92},"{'name': 'Alice'}",[57,1629,1630],{"class":88},"\"\n",[14,1632,1633],{},"JSON requires double quotes:",[48,1635,1637],{"className":50,"code":1636,"language":52,"meta":53,"style":53},"json_text = '{\"name\": \"Alice\"}'\n",[28,1638,1639],{"__ignoreMap":53},[57,1640,1641,1643,1645,1647,1649],{"class":59,"line":60},[57,1642,81],{"class":67},[57,1644,85],{"class":84},[57,1646,89],{"class":88},[57,1648,971],{"class":92},[57,1650,96],{"class":88},[14,1652,1653,1654,116],{},"If your JSON syntax is wrong, Python may raise a decoding error. See ",[706,1655,1657],{"href":1656},"\u002Ferrors\u002Fsyntaxerror-unexpected-eof-while-parsing-fix","how to fix JSONDecodeError for invalid JSON",[507,1659,1661,1662,1593,1664],{"id":1660},"_2-confusing-jsonload-and-jsonloads","2. Confusing ",[28,1663,211],{},[28,1665,37],{},[14,1667,1668],{},"This is a common mix-up:",[21,1670,1671,1676],{},[24,1672,1673,1675],{},[28,1674,1532],{}," = file",[24,1677,1678,1680],{},[28,1679,120],{}," = string",[14,1682,1683],{},"A simple memory trick:",[21,1685,1686,1691],{},[24,1687,1688,1690],{},[202,1689,1532],{}," = load from file",[24,1692,1693,1695],{},[202,1694,120],{}," = load from string",[507,1697,1699],{"id":1698},"_3-trying-to-access-a-missing-key","3. Trying to access a missing key",[14,1701,1702],{},"This causes an error:",[48,1704,1706],{"className":50,"code":1705,"language":52,"meta":53,"style":53},"import json\n\ndata = json.loads('{\"name\": \"Alice\"}')\nprint(data[\"email\"])\n",[28,1707,1708,1714,1718,1740],{"__ignoreMap":53},[57,1709,1710,1712],{"class":59,"line":60},[57,1711,64],{"class":63},[57,1713,68],{"class":67},[57,1715,1716],{"class":59,"line":71},[57,1717,75],{"emptyLinePlaceholder":74},[57,1719,1720,1722,1724,1726,1728,1730,1732,1734,1736,1738],{"class":59,"line":78},[57,1721,107],{"class":67},[57,1723,85],{"class":84},[57,1725,112],{"class":67},[57,1727,116],{"class":115},[57,1729,120],{"class":119},[57,1731,123],{"class":115},[57,1733,565],{"class":88},[57,1735,971],{"class":92},[57,1737,565],{"class":88},[57,1739,129],{"class":115},[57,1741,1742,1744,1746,1748,1750,1752,1754,1756],{"class":59,"line":99},[57,1743,141],{"class":140},[57,1745,123],{"class":115},[57,1747,146],{"class":119},[57,1749,160],{"class":115},[57,1751,163],{"class":88},[57,1753,1037],{"class":92},[57,1755,163],{"class":88},[57,1757,171],{"class":115},[14,1759,379,1760,1762],{},[28,1761,939],{}," if the key may not exist:",[48,1764,1766],{"className":50,"code":1765,"language":52,"meta":53,"style":53},"print(data.get(\"email\"))\n",[28,1767,1768],{"__ignoreMap":53},[57,1769,1770,1772,1774,1776,1778,1780,1782,1784,1786,1788],{"class":59,"line":60},[57,1771,141],{"class":140},[57,1773,123],{"class":115},[57,1775,146],{"class":119},[57,1777,116],{"class":115},[57,1779,1008],{"class":119},[57,1781,123],{"class":115},[57,1783,163],{"class":88},[57,1785,1037],{"class":92},[57,1787,163],{"class":88},[57,1789,505],{"class":115},[507,1791,1793],{"id":1792},"_4-forgetting-that-a-parsed-array-is-a-list","4. Forgetting that a parsed array is a list",[14,1795,1796],{},"If the JSON starts as an array:",[48,1798,1800],{"className":50,"code":1799,"language":52,"meta":53,"style":53},"import json\n\ndata = json.loads('[\"Python\", \"SQL\", \"Git\"]')\nprint(type(data))\nprint(data[0])\n",[28,1801,1802,1808,1812,1835,1849],{"__ignoreMap":53},[57,1803,1804,1806],{"class":59,"line":60},[57,1805,64],{"class":63},[57,1807,68],{"class":67},[57,1809,1810],{"class":59,"line":71},[57,1811,75],{"emptyLinePlaceholder":74},[57,1813,1814,1816,1818,1820,1822,1824,1826,1828,1831,1833],{"class":59,"line":78},[57,1815,107],{"class":67},[57,1817,85],{"class":84},[57,1819,112],{"class":67},[57,1821,116],{"class":115},[57,1823,120],{"class":119},[57,1825,123],{"class":115},[57,1827,565],{"class":88},[57,1829,1830],{"class":92},"[\"Python\", \"SQL\", \"Git\"]",[57,1832,565],{"class":88},[57,1834,129],{"class":115},[57,1836,1837,1839,1841,1843,1845,1847],{"class":59,"line":99},[57,1838,141],{"class":140},[57,1840,123],{"class":115},[57,1842,498],{"class":497},[57,1844,123],{"class":115},[57,1846,146],{"class":119},[57,1848,505],{"class":115},[57,1850,1851,1853,1855,1857,1859,1861],{"class":59,"line":104},[57,1852,141],{"class":140},[57,1854,123],{"class":115},[57,1856,146],{"class":119},[57,1858,160],{"class":115},[57,1860,196],{"class":195},[57,1862,171],{"class":115},[14,1864,552],{},[48,1866,1868],{"className":50,"code":1867,"language":52,"meta":53,"style":53},"\u003Cclass 'list'>\nPython\n",[28,1869,1870,1884],{"__ignoreMap":53},[57,1871,1872,1874,1876,1878,1880,1882],{"class":59,"line":60},[57,1873,677],{"class":84},[57,1875,681],{"class":680},[57,1877,89],{"class":88},[57,1879,1117],{"class":92},[57,1881,565],{"class":88},[57,1883,691],{"class":84},[57,1885,1886],{"class":59,"line":71},[57,1887,889],{"class":67},[14,1889,1890,1891,1893],{},"You cannot use a string key like ",[28,1892,905],{}," on a list.",[214,1895,1897],{"id":1896},"when-to-use-this-pattern","When to use this pattern",[14,1899,1900],{},"This simple parsing pattern is useful when you are:",[21,1902,1903,1906,1909,1912],{},[24,1904,1905],{},"reading API responses",[24,1907,1908],{},"loading app settings from JSON",[24,1910,1911],{},"working with saved data files",[24,1913,1914],{},"practicing how structured text becomes Python objects",[14,1916,1917,1918,116],{},"If you plan to use JSON from web requests, you may also like ",[706,1919,1921],{"href":1920},"\u002Fhow-to\u002Fhow-to-handle-api-responses-in-python\u002F","how to handle API responses in Python",[214,1923,1925],{"id":1924},"faq","FAQ",[507,1927,1929,1930,1593,1932,1934],{"id":1928},"what-is-the-difference-between-jsonload-and-jsonloads","What is the difference between ",[28,1931,211],{},[28,1933,37],{},"?",[14,1936,1937,1939,1940,1942],{},[28,1938,211],{}," reads JSON from a file object. ",[28,1941,37],{}," reads JSON from a string.",[507,1944,1946],{"id":1945},"does-parsed-json-always-become-a-dictionary","Does parsed JSON always become a dictionary?",[14,1948,1949,1950,1952,1953,116],{},"No. A JSON object becomes a ",[28,1951,686],{},", but a JSON array becomes a ",[28,1954,1117],{},[507,1956,1958],{"id":1957},"why-does-my-json-string-fail-to-parse","Why does my JSON string fail to parse?",[14,1960,1961],{},"It may use invalid JSON syntax, such as single quotes, missing commas, or trailing commas.",[507,1963,1965],{"id":1964},"how-do-i-get-a-nested-value-from-parsed-json","How do I get a nested value from parsed JSON?",[14,1967,1968,1969,116],{},"Use normal Python indexing step by step, such as ",[28,1970,1971],{},"data['user']['name']",[214,1973,1975],{"id":1974},"see-also","See also",[21,1977,1978,1984,1989,1994,1999,2005,2010,2015],{},[24,1979,1980],{},[706,1981,1983],{"href":1982},"\u002Fstandard-library\u002Fpython-json-module-overview\u002F","Python JSON module overview",[24,1985,1986],{},[706,1987,1988],{"href":708},"json.loads() function explained",[24,1990,1991],{},[706,1992,1993],{"href":1591},"json.load() function explained",[24,1995,1996],{},[706,1997,1998],{"href":1596},"How to parse JSON in Python",[24,2000,2001],{},[706,2002,2004],{"href":2003},"\u002Fhow-to\u002Fhow-to-convert-dictionary-to-json-in-python\u002F","How to convert a dictionary to JSON in Python",[24,2006,2007],{},[706,2008,2009],{"href":1920},"How to handle API responses in Python",[24,2011,2012],{},[706,2013,2014],{"href":931},"Fix KeyError when accessing dictionary values",[24,2016,2017],{},[706,2018,2019],{"href":1656},"Fix JSONDecodeError for invalid JSON",[2021,2022,2023],"style",{},"html pre.shiki code .sVHd0, html code.shiki .sVHd0{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#D73A49;--shiki-default-font-style:inherit;--shiki-dark:#F97583;--shiki-dark-font-style:inherit}html pre.shiki code .su5hD, html code.shiki .su5hD{--shiki-light:#90A4AE;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .smGrS, html code.shiki .smGrS{--shiki-light:#39ADB5;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sjJ54, html code.shiki .sjJ54{--shiki-light:#39ADB5;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .s_sjI, html code.shiki .s_sjI{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sP7_E, html code.shiki .sP7_E{--shiki-light:#39ADB5;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .slqww, html code.shiki .slqww{--shiki-light:#6182B8;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sptTA, html code.shiki .sptTA{--shiki-light:#6182B8;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .srdBf, html code.shiki .srdBf{--shiki-light:#F76D47;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sZMiF, html code.shiki .sZMiF{--shiki-light:#E2931D;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .s39Yj, html code.shiki .s39Yj{--shiki-light:#39ADB5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sbsja, html code.shiki .sbsja{--shiki-light:#9C3EDA;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sMMDD, html code.shiki .sMMDD{--shiki-light:#90A4AE;--shiki-default:#E36209;--shiki-dark:#FFAB70}",{"title":53,"searchDepth":71,"depth":71,"links":2025},[2026,2027,2028,2032,2037,2038,2042,2049,2050,2057],{"id":216,"depth":71,"text":217},{"id":258,"depth":71,"text":259},{"id":373,"depth":71,"text":2029,"children":2030},"Parse JSON with json.loads()",[2031],{"id":509,"depth":78,"text":510},{"id":712,"depth":71,"text":713,"children":2033},[2034,2035],{"id":897,"depth":78,"text":898},{"id":935,"depth":78,"text":2036},"Safer access with get()",{"id":1100,"depth":71,"text":1101},{"id":1458,"depth":71,"text":1459,"children":2039},[2040],{"id":1556,"depth":78,"text":2041},"load() vs loads()",{"id":1600,"depth":71,"text":1601,"children":2043},[2044,2045,2047,2048],{"id":1607,"depth":78,"text":1608},{"id":1660,"depth":78,"text":2046},"2. Confusing json.load() and json.loads()",{"id":1698,"depth":78,"text":1699},{"id":1792,"depth":78,"text":1793},{"id":1896,"depth":71,"text":1897},{"id":1924,"depth":71,"text":1925,"children":2051},[2052,2054,2055,2056],{"id":1928,"depth":78,"text":2053},"What is the difference between json.load() and json.loads()?",{"id":1945,"depth":78,"text":1946},{"id":1957,"depth":78,"text":1958},{"id":1964,"depth":78,"text":1965},{"id":1974,"depth":71,"text":1975},"Master python json parser example in our comprehensive Python beginner guide.","md",{},"\u002Fexamples\u002Fpython-json-parser-example",{"title":5,"description":2058},"examples\u002Fpython-json-parser-example","mX_j2zlbeCETYTCcxPO_HNIMl_wb7W90UI9tG2cmyac",1777585476875]