# Modifying a JSON via Javascript

**URL:** https://forum.lottiefiles.com/t/modifying-a-json-via-javascript/3203
**Category:** Lottie in Web
**Created:** [July 27, 2022, 4:00am UTC](https://forum.lottiefiles.com/t/modifying-a-json-via-javascript/3203 "2022-07-27T04:00:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![danieltkach](https://avatars.discourse-cdn.com/v4/letter/d/b782af/32.png) [@danieltkach](https://forum.lottiefiles.com/u/danieltkach)
#### Post date: [July 27, 2022, 4:00am UTC](https://forum.lottiefiles.com/t/modifying-a-json-via-javascript/3203/1 "2022-07-27T04:00:32Z")

</div>

What’s up everyone.  
I’m trying to create a web application that allows you to create an animation based on a template. So let’s say I have a json animation what has a text tag somewhere, for example, the “video” starts greeting the visitor by their name “Hi Daniel”, so I want this name to change according the the logged in user’s name.  
I’m trying to find documentation that would allow me to do this. I’m quite lost as to where to start.  
For now I’ve been googling but finding stuff which is too high level.  
I can code a fullstack web application with React and Node.js in the backend.  
Any guidance on this?

---

<div class="post-metadata">

### Author: ![vijaypwr61](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/vijaypwr61/32/3122_2.png) [@vijaypwr61](https://forum.lottiefiles.com/u/vijaypwr61)
#### Post date: [October 10, 2022, 11:58am UTC](https://forum.lottiefiles.com/t/modifying-a-json-via-javascript/3203/2 "2022-10-10T11:58:54Z")

</div>

I think you’re looking for dynamically change the text. JSON can not be edited, that file is stored on server side and once it’s fetched and rendered SVG on screen, you can not edit JSON. But you can change text dynamically using JS and Lottie library.

[This](https://youtube.com/c/SVGenius) guy has solution.

I have samples animation [here](https://drive.google.com/file/d/1wire6ENFsR2Uvs9Chmt58tyU47UpFT8w/view?usp=drivesdk) , hope that might help you.
