Package jodd.json.impl
Class NumberJsonSerializer
java.lang.Object
jodd.json.impl.NumberJsonSerializer
- All Implemented Interfaces:
TypeJsonSerializer<Number>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanserialize(JsonContext jsonContext, Number value) Serializes a value and writes a JSON content.
-
Constructor Details
-
NumberJsonSerializer
public NumberJsonSerializer()
-
-
Method Details
-
serialize
Description copied from interface:TypeJsonSerializerSerializes a value and writes a JSON content. Returnstrueif content was written. Returnsfalseif content for some reason was not written.- Specified by:
serializein interfaceTypeJsonSerializer<Number>
-