enthält Ich habe folgendes json:Python- extrahieren 2 Werte von jedem dictinary in der Liste, die 2 Listen
{
"error": null,
"page": "1",
"per_page": "1000",
"results": [
{
"cves": [
{
"cve_id": "CVE-2016-1583",
"href": "https://www.redhat.com/security/data/cve/CVE-2016-1583.html"
},
{
"cve_id": "CVE-2016-5195",
"href": "https://www.redhat.com/security/data/cve/CVE-2016-5195.html"
}
],
"description": "The kernel packages contain the Linux kernel, the core of any Linux operating\nsystem.\n\nSecurity Fix(es):\n\n* A race condition was With this update, a set of patches has been applied that fix\nthese problems. As a result, the time stamps of GFS2 files are now handled\ncorrectly. (BZ#1374861)",
"errata_id": "RHSA-2016:2124",
"hosts_applicable_count": 0,
"hosts_available_count": 0,
"id": "81ee41e6-2a3a-4475-a88e-088dee956787",
"issued": "2016-10-28",
"packages": [
"kernel-2.6.18-416.el5.i686",
],
"reboot_suggested": true,
"severity": "Important",
"solution": "For details on how to apply this update, which includes the changes described in\nthis advisory, refer to:\n\nhttps://access.redhat.com/articles/11258\n\nThe system must be rebooted for this update to take effect.",
"summary": "An update for kernel is now available for Red Hat Enterprise Linux 5.\n\nRed Hat Product Security
ich die Werte von errata_id und Zusammenfassung (nur die RHEL-Version) extrahieren möchten die ich will als neu Wörterbuch platzieren, das heißt: RHSA-2016: 2098: Red hat Enterprise Linux 5
konnte ich die errats Liste extrahieren, aber nicht mit der Zusammenfassung als Wörterbuch nur als Liste:
Welche Art von Ausgabe suchen Sie? Ich bin nicht in der Lage zu verstehen, was Sie hier fragen möchten –
Der JSON, den Sie hier gepostet haben, ist kein gültiger JSON. Bitte überprüfen sie es –