Interface JsonConvertible

All Known Subinterfaces:
ImageEncoder, ImageSource, ImageTransformer
All Known Implementing Classes:
ImageDefinition, ImageEncoderJPG, ImageEncoderPNG, ImageSourceFile, ImageSourceResource, ImageSourceURL, ImageTransformerFitHeight, ImageTransformerFitWidth, ImageTransformerIdentity, ImageTransformerScaleToArea, ImageTransformerWH

public interface JsonConvertible
This interface defines a contract for objects that can be converted to a JSON representation.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.json.JSONObject
    Converts the object to a JSON representation.
  • Method Details

    • toJSON

      org.json.JSONObject toJSON()
      Converts the object to a JSON representation.
      Returns:
      A JSONObject representing the object.