Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fichero Python - Leer un JSON con Python -
import json
f = open("Entities.json", "r")
content =
jsondecoded = json.loads(content)
for entity in jsondecoded["Classes"]:
print("Entidad " + entity["Name"] + ". Sus propiedades son: ")
for entityProperty in entity["Properties"]:
print("Propiedad " + entityProperty["Name"] + " de tipo " + entityProperty["Type"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment