1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
geniusboy [140]
3 years ago
13

Assign jsonData with the parsed value of the stringData variable. Then, assign 29 to the points property in jsonData and assign

stringData with the stringified version of jsonData.
var stringData = '{ "name": "Michael Jordan", "height": { "ft": 6, "in": 6 }, "points": 25, "position": "Power forward" }';
Computers and Technology
1 answer:
Radda [10]3 years ago
6 0

Answer:

The solution is written in JavaScript:

  1. var stringData = '{ "name": "Michael Jordan", "height": { "ft": 6, "in": 6 }, "points": 25, "position": "Power forward" }';
  2. var jsonData = JSON.parse(stringData);
  3. jsonData.points = 29;
  4. stringData = JSON.stringify(jsonData);

Explanation:

Given the string data as in Line 1, we use the JSON parse method to convert the string data into JavaScript object (Line 2) and assign the parsed data to variable jsonData.

Next, use the dot syntax to access the points property of the jsonData and set the value of 29 to it (Line 3).

At the end, use JSON stringify method to stringify the jsonData and assign the output to stringData (Line 4).  

You might be interested in
1. Fill in the blanks:
Anit [1.1K]

Answer:

<h2>a) computer software </h2>

<h2>b) flash drive</h2>

<h2>c) Latin "putare" </h2>

<h2>d) Hardware</h2>

<h2>e) software</h2>

hope it's helpful ✌

8 0
3 years ago
When somthing is trustworthy we call it what?
Gnom [1K]

Answer:

dependable

Explanation:

5 0
3 years ago
Read 2 more answers
Which column and row references are updated when you copy the formula: =F$5+12?
KIM [24]

Answer:

Column F and row 5

7 0
3 years ago
When was the phone Built
quester [9]
The first phone was made in 1854 by <span>Antonio Meucci.

Other inventors like </span>Johann Philipp Reis, <span>Alexander Graham Bell, Elisha Gray, and Thomas Edison reinvented the telephone or enhanced it.</span>
3 0
3 years ago
Read 2 more answers
What are the most common MIS (management information systems) used in a business place.
Kryger [21]

Answer:

  MIS (management information systems) is a computer system consist of hardware and a software that together serves as the backbone of operations for an organisation. It is an important tool for any business irrespective of its scale of operation and its size and frequency and usage may be vary with business. As, MIS tools help in move data and manage the information.

The technologies and tools are used in MIS have evolved over the time such as minicomputers, mainframe and server networks.

3 0
3 years ago
Other questions:
  • If johnny has 800 socks and john has 1000 more how much does john have
    9·1 answer
  • When you park on a hill, think about which way _____.
    6·2 answers
  • Consider the following scenario below and recommend a solution.
    8·1 answer
  • The parameter passing mechanisn used in C is
    5·2 answers
  • . Select the advantages of RAID-5 relative to other RAID schemes. (MAY SELECT MULTIPLE)
    7·1 answer
  • Who found the first computer bug in 1947, and invented the concept of a compiler in 1952
    6·1 answer
  • Which background-repeat value represents this div?
    6·1 answer
  • What is geolocation?
    8·1 answer
  • A local pizza shop is selling a large pizza for $9.99. Given the number of pizzas to order as input, output the subtotal for the
    12·1 answer
  • ¿Cuál es la capacidad pulmonar del hombre y la mujer?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!