Class JS5JSON

java.lang.Object
org.fife.rsta.ac.js.ecma.api.ecma5.JS5JSON

public abstract class JS5JSON extends Object
Object JSON
Since:
Standard ECMA-262 5th. Edition
  • Constructor Details

    • JS5JSON

      public JS5JSON()
  • Method Details

    • parse

      public static JS5Object parse(JS5String s, JS5Function reviver)
      function parse(s, reviver) parse a JSON-formatted string.
      Parameters:
      s - The string to be parsed.
      reviver - An optional argument function that can transform parsed values.
      Since:
      Standard ECMA-262 5th. Edition
      See Also:
    • stringify

      public static JS5Object stringify(JS5Object o, JS5Function filter, JS5Object indent)
      function stringify(o, filter, indent) serialize an object, array or primitive value.
      Parameters:
      o - The object, array or primitive value to convert to JSON string.
      filter - An optional function that can replace values before stringification.
      indent - An optional argument that specifies am indentation string or number of spaces to use for indentation.
      Since:
      Standard ECMA-262 5th. Edition
      See Also: