Package io.kjson
Object JSONDecimal.Companion
-
- All Implemented Interfaces:
public class JSONDecimal.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final JSONDecimalZEROpublic final static JSONDecimal.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final JSONDecimalof(BigDecimal d)Create a JSONDecimal from a BigDecimal. final JSONDecimalof(Integer i)Create a JSONDecimal from an Int. final JSONDecimalof(Long i)Create a JSONDecimal from a Long. final JSONDecimalof(String s)Create a JSONDecimal from a String. final JSONDecimalgetZERO()A JSONDecimal of 0. -
-
Method Detail
-
of
final JSONDecimal of(BigDecimal d)
Create a JSONDecimal from a BigDecimal.
-
of
final JSONDecimal of(Integer i)
Create a JSONDecimal from an Int.
-
of
final JSONDecimal of(Long i)
Create a JSONDecimal from a Long.
-
of
final JSONDecimal of(String s)
Create a JSONDecimal from a String.
-
getZERO
final JSONDecimal getZERO()
A JSONDecimal of 0.
-
-
-
-