How to Convert String to JSON

{"id":"2917",
"reqid":"4643f7fd",
"guid":"7ac170210b4643f7fd",
"type":"Raw",
"cp":"750266",
"start":"1595579266754",
"processedTime":"15955630",
"message":{
"protoVer":"TLSv1.3",
"cliIP":"85.184.183.27",
"reqMethod":"GET",
"fwdHot":"kickout-service.com.comp.com",
"proto":"https",
"rrerere":"kickout-com.comp.com",
"UA":"Mozilla/5.0 (khkjjljk; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15",
"reqPath":"/dk/da/poders/7ytrr6607",
"respLen":"Content-bfrecff0d%0a",
"status":"200"
},
"reqHdr":{
"referer":"https://poder.comp.com/dk/da/kickout/shoppingbag/",
"reqTime":"1266.75"
},
"respHdr":{
"date":"Date: Fri, 24 Jul 2020 08:27:47 GMT",
"respCacheCtl":"Cache-Control: no-cache, no-store, max-age=0, must-revalidate",
"allowOrigin":"Access-Control-Allow-Origin: https://poder.comp.com"},
"netPerf":{
"midMileLatency":"35",
"errCdF29":"ERR_NONE",
"lastByte":"1",
"clientRTT":"45",
"asnum":"204274",
"retdwedd":"ERR_NONE",
"hgetet":"1110",
"netOriginLatency":"525",
"hrere":"568",
"edgeIP":"xxxx.xxxx.xxx"
},
"geo":{
"country":"Donk"
}
}
import json
dict_json_obj = json.loads(thatstring);

--

--

--

Hi, I am a Certified Google Cloud Data engineer. I use Medium platform to share my experience with other members of Medium network.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

https://fairmoney.app.link/referral?referral_code=QDZ2S

Best way to set keys when using v-for in Vue 3

Comprehensive Guide For React Native Device Features (Maps, Gallery, and Camera)

How our team improved the page load time?

Javascript Use-Cases

Just Get To Know the Map Function and Use It

On Algorithms: Suffling an Array

11 Types of Programmers In Workplace

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vibhor Gupta

Vibhor Gupta

Hi, I am a Certified Google Cloud Data engineer. I use Medium platform to share my experience with other members of Medium network.

More from Medium

Understand Nested Loops with Examples

Building a Python REST API : Getting started with FastAPI

Getting started with Python Libraries

Polymorphism in Python (Many Forms)