---
title: "Discussion on \"What is the easiest way to add or edit data on JSON files using JavaScript or PHP?\" | Hashnode"
description: "Discussion on \"What is the easiest way to add or edit data on JSON files using JavaScript or PHP?\". Hi there,\nBoth JavaScript and PHP provide convenient methods for adding or editing data in JSON files. Here's an overview of the easiest ways to achieve this in each language:\nJavaScript:\nTo add or edit data in a JSON file using JavaScript, you can f..."
url: "https://hashnode.com/posts/what-is-the-easiest-way-to-add-or-edit-data-on-json-files-using-javascript-or-php/64b52005758911975074caec"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What is the easiest way to add or edit data on JSON files using JavaScript or PHP?](https://webdevgauravkumar.hashnode.dev/what-is-the-easiest-way-to-add-or-edit-data-on-json-files-using-javascript-or-php?utm_source=hashnode&utm_medium=feed)

Hi there, Both JavaScript and PHP provide convenient methods for adding or editing data in JSON files. Here's an overview of the easiest ways to achieve this in each language: JavaScript: To add or edit data in a JSON file using JavaScript, you can f...

Jul 17, 2023 · 2 min read · webdevgauravkumar.hashnode.dev  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Gaurav Kumar](https://hashnode.com/@webdevgauravkumar)

@webdevgauravkumar · Mohali, PB, India

  
[View profile](https://hashnode.com/@webdevgauravkumar)

PHP Framework Expert with 8+ Years of Experience

Hello, I'm Gaurav Kumar PHP Framework Expert with 8+ Years of Experience I am an experienced PHP framework expert with over 8 years of dedicated experience. Specializing in frameworks like Laravel, Symfony, CodeIgniter, and Zend. With a deep understanding of web development intricacies, I excel in developing custom web applications, e-commerce platforms, content management systems, and API integrations. I am well-versed in modern development practices, including OOP, MVC architecture, RESTful APIs, and version control systems. If you are in need of any help on PHP frameworks, You can contact me. I will love to help you! 😊

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
