creating alt tags for images gotten through JSON

This web page has three cards with information above and an image below. I am using JavaScript and HTML to get the information that goes to my web page. My JavaScript gets the information it needs …

editing a JSON in JS and putting it in an array

so I have the following json. { “BTC”: { “available”: 0.00024868, “onOrder”: 0, “btcValue”: 0.00024868, “btcTotal”: 0.00024868 }, &…

How to access property of a property of a JSON object if the initial property is a variable?

I am making a discord bot and have successfully made a system where it stores user’s variables in a JSON file in this format: { “801479782613123123”: { “status”: true }, &…

How to process the Azure REST API response in PHP

I am getting the below response with Azure rest API { “value”: [ { “id”: “/subscriptions/xxxx-1faf-4756-a709-1af49be58e56/resourceGroups/cloud-shell-…

How to build map for large json with unknown structure

I have large json data with unknown depth and I need to build a map in the following format of result. const json = { 1: { 11: { 111: [{ “111-0”: “b” }, { “111-1&…

How to call back text from p tag to the input text feild?

There are two identical ids and i just want to add some jquery which will do the following job, whenever p tag text changes then input value automatically changes itself according to text of p tag. …

Calling json postData properly

Hello stackoverflow members. So I wanna call this action nested array in json to Action Component but I dont know how. If I could get some help that would be highly appriciated import React from ‘…

How do I replace a json comma with a new line

im trying to replace every comma in my json file: { “friends”: { “count”: “9”, “friends”: [ “Xdevil_blueX”, “…

Error when trying to populate two chained html dropdown objects with JSON data using jQuery?

I am trying to populate two HTML selects with JSON data, but I keep getting this error: Uncaught TypeError: country.map is not a function for the cities. Can someone tell me what’s wrong with this …

Mapping array with objects of open hours in react

So Im trying to render in jsx a list of 7 days with open hours, taking data from my json file. I want to make it looks somehow like this: Mon 09:00 – 21:00 Tue 09:00 – 21:00 Wed 09:00 – 21:00 Thu 09:…