# JS browser utility to show n fetch JSON data in an editor

**URL:** <https://forum.kirupa.com/t/js-browser-utility-to-show-n-fetch-json-data-in-an-editor/639932>\
**Category:** programming\
**Created:** [June 13, 2019, 5:20pm UTC](https://forum.kirupa.com/t/js-browser-utility-to-show-n-fetch-json-data-in-an-editor/639932 "2019-06-13T17:20:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesbowers](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jamesbowers](https://forum.kirupa.com/u/jamesbowers)\
**Post date:** [June 13, 2019, 5:20pm UTC](https://forum.kirupa.com/t/js-browser-utility-to-show-n-fetch-json-data-in-an-editor/639932/1 "2019-06-13T17:20:13Z")

</div>

Hi, I wanted to make a browser side utility which can fetch some json data form given url or file, and show that data in editor on browser web page.  
Now i got all thing like i used ACE-Jsoneditor to fetch n display the data.  
I wanted to make it a general utility which can be used in any (Angular, react) javascript framework. I tried to use web componenets to do so, but this is not a correct way.  
Can you help me to find a better way to do so.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Post date:** [June 14, 2019, 3:00am UTC](https://forum.kirupa.com/t/js-browser-utility-to-show-n-fetch-json-data-in-an-editor/639932/2 "2019-06-14T03:00:07Z")

</div>

Are you trying to capture JSON from a web request or URL and just display it in a text area?
