JsonField<T> constructor

JsonField<T>(
  1. String fieldName
)

Creates a new JsonField instance with the specified field name.

Parameters:

  • fieldName: The name of the field as it appears in JSON data. This name is used as the key during serialization and deserialization.

Implementation

JsonField(this.fieldName);