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

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `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 Detail

    - #### convertToBoolean

          public static Boolean convertToBoolean​(String value)
                                          throws ParserException

      Throws:
        `ParserException`

    - #### convertToInt

          public static int convertToInt​(String value)
                                  throws ParserException

      Throws:
        `ParserException`

    - #### convertToDouble

          public static double convertToDouble​(String value)
                                        throws ParserException

      Throws:
        `ParserException`