public class NumberUtils extends Object
| Constructor and Description |
|---|
NumberUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.node.ValueNode |
convertNumberToValueNode(String number)
The convertNumberToValueNode method converts the string passed in to a
suitable subclass of ValueNode depending on whether it is an integer or
decimal.
|
public static final com.fasterxml.jackson.databind.node.ValueNode convertNumberToValueNode(String number)
number - The string representation of the number to convertEvaluateRuntimeException - If the number represented by the string is
outside of the valid range or if the string
does not contain a valid number.Copyright © 2021. All rights reserved.