Find in JSON response and edit it to post it again

Find in JSON response and edit it to post it again

I have a complicated JSON

I have a complicated JSON

I want to edit multiple values and post it again I want to replace every "SKU" with a diffrent value

data = {
"products": [
   {
        "name": {
            "ar": "PRODUCT_NAME",
            "en": "PRODUCT_NAME"
        },
        "description": {
            "ar": "PRODUCT_DESCRIPTION",
            "en": "PRODUCT_DESCRIPTION"
        },
        "preparation_time_in_minutes": 4,
        "image_path": "https://path/to/image.png",
        "index": 0,
        "pricing_type": 1,
        "selling_type": 1,
        "sku": "",
        "created_at": "2018-05-08 12:53:55",
        "updated_at": "2018-08-30 21:03:20",
        "taxable": "true",
        "is_combo": "false",
        "calories": "null",
        "is_active": "true",
        "hid": "_a7g34337",
        "barcode": "PRODUCT_BARCODE",
        "category": {
            "hid": "_697d1127"
        },
        "tags": [
           {
                "hid": "_16718997",
                "relationship_data": {
                    "index": 0
                }
            }
        ],
        "modifiers": [
           {
                "hid": "_567a437a",
                "relationship_data": {
                    "index": 0,
                    "is_required": "false",
                    "minimum_options": 0,
                    "maximum_options": 100,
                    "excluded_options": [
                        "_567a437a"
                    ]
                }
            }
        ],
        "timed_events": [
           {
                "hid": "_567a437a"
            }
        ],
        "sizes": [
           {
                "name": {
                    "en": "SIZE_NAME",
                    "ar": "SIZE_NAME"
                },
                "price": 20,
                "index": 0,
                "created_at": "2018-09-04 14:46:24",
                "updated_at": "2018-09-04 14:46:24",
                "barcode": "SIZE_BARCODE",
                "calories": 123,
                "sku": "",
                "cost": 0,
                "has_fixed_cost": "false",
                "hid": "_273ad637",
                "costingType": "ingredients",
                "ingredients": [
                   {
                        "hid": "_d741agg7",
                        "relationship_data": {
                            "is_optional": "false",
                            "quantity": 40,
                            "inactive_in_order_types": [
                                1,
                                2
                            ]
                        }
                    }
                ],
                "special_branch_prices": [
                   {
                        "branch_hid": "_d741agg7",
                        "price": 23
                    }
                ]
            }
        ]
    }
] }

I want to find first "SKU" and replace its value

then look again to find any other "SKU" and replace the value

I tried to find put the place of the "SKU" is changing in every request

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

Python Tutorial: Working with JSON Data using the json Module

In this Python Programming Tutorial, we will be learning how to work with JSON data. We will learn how to load JSON into Python objects from strings and how to convert Python objects into JSON strings. We will also see how to load JSON from a file and save those Python objects back to files

Python Script 3: Validate, format and Beautify JSON string Using Python

Python Script 3:Validate, format and Beautify JSON string Using Python - As per official JSON website, JSON is a light-weight data interchange format. It is easy for humans to read and write.It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language

Top Python Development Companies | Hire Python Developers

After analyzing clients and market requirements, TopDevelopers has come up with the list of the best Python service providers. These top-rated Python developers are widely appreciated for their professionalism in handling diverse projects. When...