JSON parse

Using method JSON.parse()[1] it parses a JSON string, constructing the JavaScript value or object described by the string.

Although it might seem the same as Format / JSON, its result differs depending on the input type:

  • number parses the number and converts it to Webacus number
  • string parses the quoted string and outputs text
  • boolean parses the value and outputs true or false
  • object parses the object and outputs formatted representation of the object

Sources:
[1] developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse


Choose from 127 ops
Latest ops 0
Favorite ops 0
Calculations
0