itemOf<T> static method
The one item of serializer. Only call it when hasItem is true.
For the JSON writer that @Serialize() makes.
Implementation
static T itemOf<T>(Serializer<T> serializer) {
return serializer._item as T;
}