1.- Decode JSON with JsonPath.
p299G_DecodificaJson.aia (402.5 KB)
com.KIO4_DecoJson.aix is here: App Inventor. Extensión. Decodifica Json. JsonPath. Convertir de Json a Xml y de Xml a Json.
- Blocks.
Set json text and a path. Gets a value or a list.

Validate and show (if possible) the Json string in easily readable form.
- Convert JSON to XML and XML to JSON.
- SetValue in a path.
1.- Example app:
2.- Example with "Pretty" block.
p299G_DecodificaJson_pretty.aia (570.6 KB)
3.- Convert XML string to JSON string, and JSON string to XML string.
p299G_DecodificaJson_xml_json.aia (582.6 KB)
example.xml
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>Título del RSS</title>
<description>Descripción del RSS</description>
<link>http://www.kio4.com/appinventor</link>
<lastBuildDate>Mon, 06 Jan 2022 00:01:00 </lastBuildDate>
<pubDate>Mon, 06 Jan 2022 16:20:00 </pubDate>
<ttl>1800</ttl>
<item>
<title>Entrada dentro del RSS</title>
<description>Descripción de la entrada</description>
<link>http://www.kio4.com/raspberry</link>
<guid>clave única</guid>
<pubDate>Mon, 06 Jan 2022 17:20:00 </pubDate>
</item>
</channel>
</rss>
4.- Set a value in a path.
- In this example I establish the value "Juan Antonio" in the path .book[2].author









