Annotation Interface JSONType


@Target(TYPE) @Retention(RUNTIME) public @interface JSONType
An annotation for telling JSONObject that this object type needs special rules for conversion (both to and from this type).
Author:
Matthew Tropiano
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    This class's converter class.
  • Element Details

    • converter

      Class<? extends JSONConverter<Object>> converter
      This class's converter class.
      Returns:
      the JSONConverter class to use.
      Default:
      com.blackrook.json.JSONDefaultConverter.class