Package burp.api.montoya.utilities.json
Interface JsonNumberNode
- All Superinterfaces:
JsonNode
This interface is used to define a JSON number node.
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Retrieves the value for thisJsonNode
.static JsonNumberNode
jsonNumberNode
(double value) Creates a new instance ofJsonNumberNode
from the supplied double.static JsonNumberNode
jsonNumberNode
(long value) Creates a new instance ofJsonNumberNode
from the supplied long.static JsonNumberNode
jsonNumberNode
(Number value) Creates a new instance ofJsonNumberNode
from the supplied number.
-
Method Details
-
getValue
Number getValue()Description copied from interface:JsonNode
Retrieves the value for thisJsonNode
. -
jsonNumberNode
Creates a new instance ofJsonNumberNode
from the supplied long.- Parameters:
value
- The long value.- Returns:
- A new
JsonNumberNode
instance.
-
jsonNumberNode
Creates a new instance ofJsonNumberNode
from the supplied double.- Parameters:
value
- The double value.- Returns:
- A new
JsonNumberNode
instance.
-
jsonNumberNode
Creates a new instance ofJsonNumberNode
from the supplied number.- Parameters:
value
- The number value.- Returns:
- A new
JsonNumberNode
instance.
-