Uses of Interface
jdk.incubator.json.JsonNumber
Packages that use JsonNumber
Package
Description
This API supports processing of JSON text in a simple manner.
-
Uses of JsonNumber in jdk.incubator.json
Methods in jdk.incubator.json that return JsonNumberModifier and TypeMethodDescriptionstatic JsonNumberJsonNumber.of(double num) Creates aJsonNumberfrom the givendoublevalue.static JsonNumberJsonNumber.of(int num) Creates aJsonNumberfrom the givenintvalue.static JsonNumberJsonNumber.of(long num) Creates aJsonNumberfrom the givenlongvalue.static JsonNumberCreates aJsonNumberfrom the givenStringvalue.