An object that defines a field.
Creates a new field object with the following parameters.
The field as not being editable.
The field's data type. Warning: Shapefile fields of type date do not store a time.
True if the field is nullable.
Serializes this object to a JSON string.