toJSON

convert an unsigned integer to a JSONValue

Examples

Serialize an unsigned integer.

assert(41u.toJSON == JSONValue(41u));

Meta