Package adams.core

Interface JsonSupporter

  • All Known Implementing Classes:
    JsonTree, JsonTreeWithPreview

    public interface JsonSupporter
    For classes that support JSON objects, e.g., displaying them.
    fracpete (fracpete at waikato dot ac dot nz)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      net.minidev.json.JSONAware getJSON()
      Returns the JSON object.
      void setJSON​(net.minidev.json.JSONAware value)
      Sets the JSON object.
    • Method Detail

      • setJSON

        void setJSON​(net.minidev.json.JSONAware value)
        Sets the JSON object.
        value - the JSON object
      • getJSON

        net.minidev.json.JSONAware getJSON()
        Returns the JSON object.
        the JSON object, null if none available