This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Classes":[ | |
{ | |
"Name" : "Actor", | |
"Extend" : "DomainEntity", | |
"Properties": [ | |
{ | |
"Name" : "name", | |
"Type" : "String", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
f = open("Entities.json", "r") | |
content = f.read() | |
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"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python |