1.11 JavaScript common library: JSON

1.11 JavaScript common library: JSON

JSON objects are used to serialize objects, arrays, numbers, strings, booleans and null.

Commonly used APIs:

  • JSON.parse(): parse the string into an object
  • JSON.stringify(): Convert an object to a string

Guess you like

Origin blog.csdn.net/qq_42465670/article/details/130603743