Skip to main content

Verarbeitet JSON

Project description

# Dieses Packet verarbeitet “Pfade” um Json-Informationen abzufragen

##class JsonReader:

// init // Nimmt das Argument: // * file, ein String, der den Dateipfad zur Json-Datei darstellt. def __init__(self, file: str)

// write // Nimmt keine Argumente // Und schreibt den aktuellen Stand des Arbeits-Dictionarys in die Datei def write(self)

// read // Nimmt keine Argumente // Und liest die Datei ein def read(self)

// get_from_path // Nimmt das Argument: // * path, der Pfad zur Json-Information def get_from_path(self, path: str)

// set_from_path // Nimmt die Argumente: // * path, der Pfad zu der zu erstellenden Information // * value, der Wert auf den es gesetzt wird def set_from_path(self, path: str, value)

// delete_path // Nimmt das Argument: // * path, der Pfad, der gelöscht werden soll def delete_path(self, path: str)

// path_exists // Nimmt das Argument // * path, der Pfad der geprueft werden soll def path_exists(self, path: str)

// Sonst nur private Methoden

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

JsonReader-heureka-code-0.0.5.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

JsonReader_heureka_code-0.0.5-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file JsonReader-heureka-code-0.0.5.tar.gz.

File metadata

  • Download URL: JsonReader-heureka-code-0.0.5.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for JsonReader-heureka-code-0.0.5.tar.gz
Algorithm Hash digest
SHA256 34ae8c7a642b42db8d7a2d1c2464d26dd36b44e0b12e858b749d4bc36fb6bb83
MD5 8ca4c6f59778d23892da717cb9cab2f3
BLAKE2b-256 e0ed2301e7a462653f00cc6766125faeefcbf9b1eeac57899bf750f8a6bc68e1

See more details on using hashes here.

File details

Details for the file JsonReader_heureka_code-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: JsonReader_heureka_code-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for JsonReader_heureka_code-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8e9c096d60185e70080fe13e72acebc42ef8c1991732f4588bf67a2becc9d312
MD5 0784564b6107555a9eae4d88d27e8bd4
BLAKE2b-256 8172c81c285ce5426b24461739ec7360f332ae92690a083870b6e1b6700b3b68

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page