Skip to main content

um modúlo python criado para facilitar a manipulação de arquivos json

Project description

HeroJson

É um modúlo python criado para facilitar a manipulação de arquivos json. Este modúlo tem como dependência o modúlo json(padrão do python).

Funções

  • key(key : str) -> Traz o valor de uma determinada chave do arquivo json se esta existir e um None valor se não.
  • update(key : str, value : any) -> Atualiza o valor de uma chave se esta existir e um None valor se não.
  • drop(key : str) -> Deleta uma chave se esta existir.
  • add(key : str, value : str) -> Adiciona um novo par chave e valor ao arquivo json.
  • Allkeys() -> Retorna uma lista com todas as chaves existentes no arquivo json.
  • AllValue() -> Retorna uma lista com todas os valores existentes no arquivo json.
  • Content() -> Retorna o conteúdo do arquivo em formato de string

Página Oficial

Copyright Eliseu Gaspar

Project details


Release history Release notifications | RSS feed

This version

0.0

Download files

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

Source Distribution

herojson-0.0.tar.gz (3.0 kB view hashes)

Uploaded Source

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