Get multiple fields out of JSON [Python] -


I have some JSON files that are described below with the structure:

  {" Paragraph ": [" Fake anti-virus software that infects a PC with malicious code, there are increasing risks according to a Google study. "," This analysis of 13 months to 240m web pages shows that fake anti-virus programs 15% malicious software. "," Scammers, by believing them Deceive them into downloading programs that are infected with their PC virus. ",]," Description ":" Google has found ... "," title ":" Google Alert Anti-Virus Software on Fake Warning "} ,  

I need to drag all the title fields into several instances (which are in the same JSON file) and store them in a new list. How can I do Python? If you can do this on the paragraph field as well, I have more than one entry then it would be great.

  1. The module used to parse its Jason file in the structure of nested dicks and lists Please.
  2. Use to remove your details, such as

      titles = [x ['title'] x parsed_json]  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

How to access user directory in lazarus? -

java - Gradle dependencies: compile project by relative path -