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

## Class DataTypeConverter

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

-     public class DataTypeConverter
      extends java.lang.Object

  Handle data type conversions for JSON parser.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.Boolean` | `convertToBoolean(java.lang.String value)`
    `static double` | `convertToDouble(java.lang.String value)`
    `static int` | `convertToInt(java.lang.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 java.lang.Boolean convertToBoolean(java.lang.String value)
                                                    throws ParserException

      Throws:
        `ParserException`

    - #### convertToInt

          public static int convertToInt(java.lang.String value)
                                  throws ParserException

      Throws:
        `ParserException`

    - #### convertToDouble

          public static double convertToDouble(java.lang.String value)
                                        throws ParserException

      Throws:
        `ParserException`

Copyright © 2005-2022 Apache Software Foundation. All Rights Reserved.