Class NumberToJSON

java.lang.Object
net.sf.saxon.serialize.jcs.NumberToJSON

public class NumberToJSON extends Object
Number serialization support.
  • Method Details

    • serializeNumber

      public static String serializeNumber(double value) throws IOException
      Formats a number according to ES6.

      This code is emulating 7.1.12.1 of the EcmaScript V6 specification.

      Parameters:
      value - Value to be formatted
      Returns:
      String representation
      Throws:
      IOException -