Package org.apache.synapse.commons.json.jsonprocessor.utils

# Class DataTypeConverter

java.lang.Object
org.apache.synapse.commons.json.jsonprocessor.utils.DataTypeConverter

public class DataTypeConverter extends Object
Handle data type conversions for JSON parser.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static BigInteger`
  `convertToBigInteger(String value)`
  `static Boolean`
  `convertToBoolean(String value)`
  `static double`
  `convertToDouble(String value)`
  `static int`
  `convertToInt(String value)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### convertToBoolean

    public static Boolean convertToBoolean(String value) throws ParserException
    Throws:
      `ParserException`

  - ### convertToInt

    public static int convertToInt(String value) throws ParserException
    Throws:
      `ParserException`

  - ### convertToBigInteger

    public static BigInteger convertToBigInteger(String value) throws ParserException
    Throws:
      `ParserException`

  - ### convertToDouble

    public static double convertToDouble(String value) throws ParserException
    Throws:
      `ParserException`