Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Gonzalez Diaz Jobana
objeto :- write('{'),aux1, write('}'). aux1 :- read(X),(X='atributo'->atributo; X='fin'->write('')). atributo :-cadena, write(':'),valor,aux2. arreglo :- write('['),aux3, write(']'). aux2 :- read(X),(X='atributo'->write(','),atributo; X='fin'->write('')). aux3 :- read(X),(X='valor'->valor,aux4; X='fin'->write('')). aux4 :- read(X),(X='valor'->write(','),valor,aux4; X='fin'->write('')). cadena :- read(X),write('"'),write(X),write('"'). numero :- read(X),write(X). valor :-read(T),(T='cadena'->cadena; T='numero'->numero; T='arreglo'->arreglo; T='objeto'->objeto). :- objeto.
run
|
edit
|
history
|
help
0
Codificacion de empresa
Codificador JSON Acosta Rodriguez Luis Manuel
codificador json con metodos sin condiciones 23 ago 2021
Tarea_15_Marzo_Martinez_Barranco_Diego
Course management prolog
Ejercicio 3 Examen - Guzmán Martínez Ricardo Alejandro
Chem
Json Basico
Tarea1-2
Ejercicio 3 Examen Arredondo Amaro Carlos Jair