Module quickjs_runtime::quickjs_utils::json

source ·
Expand description

serialize and stringify JavaScript objects

Functions§

  • Parse a JSON string into an Object
  • Parse a JSON string into an Object please note that JSON.parse requires member names to be enclosed in double quotes so {a: 1} and {‘a’: 1} will both fail {“a”: 1} will parse ok
  • Safety
  • Stringify an Object in script