I don't want again and again change JSON file to debug with different data.
Can I use chrome tool to update data?
I was searching the options in developer tool, but no luck.
I don't want again and again change JSON file to debug with different data.
Can I use chrome tool to update data?
I was searching the options in developer tool, but no luck.
I'm making some assumptions here, but I'm assuming the JSON you're dealing with ends up on the client-side as a script.
If this is so, you can edit the JSON (temporarily for that tab session) through Chrome's dev tools. Simply open the dev tools panel and select the "Sources" tab: The Sources panel
Here you can select the "Sources" sub-tab to view all of the scripts that were loaded for that page. If you can find the JSON file you're working with, you can open it and edit it in the right pane.
Be advised that changes made will only take affect if the current page passes over that object again - reloading the page will wipe your changes here.
This question has been addressed (if only partially) here: Editing in the Chrome debugger