Ubidots Json decode Help!, newie

Help, how can get vale = 23.0776, in this json list.

Please show your relevant blocks

You may find this extension useful:
https://community.appinventor.mit.edu/t/extension-json-decode-jsonpath-get-the-value-easily-convert-xml-json/43931/9

1 Like

Thanks, i will investigate.
This is my blocks.

Great tool the extension, but now, how write the path? ::::
path: {"results": {"1":{"last_value":{"value":},},},}

Look at the example Juan provides, that should help you work out the syntax required.

2 Likes

Can you put the Json link?
(https://industrial.api.ubidots............)

ok,
https://industrial.api.ubidots.com/api/v1.6/datasources/60f8596f73efc32fed805476/variables/?fields=lastValue,label&token=BBFF-qWq9Uj6q76L1ZtqDK6JtPafhhv29Wh

You can get a list of "value":

http://kio4.com/appinventor/299G_extension_Decodifica_Json.htm

1 Like

This example: set "id" and get value:

borrar_json_ejemplo.aia (583.9 KB)

1 Like

Thanks at lot. Muchas gracias Juan, vreo que con eso tendre para seguir avanzado. Muy buena guia y muy buena extension. Saludos