# Webviewer json object to text

**URL:** https://community.thunkable.com/t/webviewer-json-object-to-text/32509
**Category:** Questions about Thunkable X
**Created:** [June 21, 2018, 7:48am UTC](https://community.thunkable.com/t/webviewer-json-object-to-text/32509 "2018-06-21T07:48:35Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![rollke](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rollke/32/14413_2.png) [@rollke](https://community.thunkable.com/u/rollke)
#### Post date: [June 21, 2018, 7:48am UTC](https://community.thunkable.com/t/webviewer-json-object-to-text/32509/1 "2018-06-21T07:48:35Z")

</div>

Hi,  
to determine the size of the current screen I have an idea:

Is it possible to load a json object of a weviewer response?  
I tried the app getDeviceInfo published in this forum earlier.  
There I get all informations about my device, even the hight and width of the screen.  
But how to extract that to variables?

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [June 21, 2018, 11:13am UTC](https://community.thunkable.com/t/webviewer-json-object-to-text/32509/2 "2018-06-21T11:13:30Z")

</div>

Hi,

An example of data exchange using a web server and cookie.

[https://x.thunkable.com/projects/5af67d033098b30001ec63ef/project/properties/designer/](https://x.thunkable.com/projects/5af67d033098b30001ec63ef/project/properties/designer/)

For greater reliability, you need to use Firebase, but this will greatly complicate the project. Of course, it would be best to get the data directly from the Web Viewer.

---

<div class="post-metadata">

### Author: ![rollke](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/rollke/32/14413_2.png) [@rollke](https://community.thunkable.com/u/rollke)
#### Post date: [June 21, 2018, 1:18pm UTC](https://community.thunkable.com/t/webviewer-json-object-to-text/32509/3 "2018-06-21T13:18:29Z")

</div>

Could‘nt it be easier?  
With Javascript you can determine the screensize.  
But how can I transfer the result of a javascript funktion into a thunkable string?

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [June 21, 2018, 2:09pm UTC](https://community.thunkable.com/t/webviewer-json-object-to-text/32509/4 "2018-06-21T14:09:04Z")

</div>

You need a repository that has access to both JavaScript and Thunkable X. While this can only be done through a web server.

---

<div class="post-metadata">

### Author: ![Ken\_Bushey](https://avatars.discourse-cdn.com/v4/letter/k/a87d85/32.png) [@Ken\_Bushey](https://community.thunkable.com/u/Ken_Bushey)
#### Post date: [November 2, 2018, 11:52pm UTC](https://community.thunkable.com/t/webviewer-json-object-to-text/32509/5 "2018-11-02T23:52:45Z")

</div>

This is the question I have as well. [http://community.thunkable.com/t/parsing-json-in-thunkable-x/54535?u=ken\_bushey](http://community.thunkable.com/t/parsing-json-in-thunkable-x/54535?u=ken_bushey)

Am I hearing @actech say it is impossible to extract the webviewer result into a variable?

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:54am UTC](https://community.thunkable.com/t/webviewer-json-object-to-text/32509/6 "2024-11-08T11:54:52Z")

</div>


