Interface JsonGenerator

All Known Subinterfaces:
Json, JsonBuilder
All Known Implementing Classes:
BasicJsonBuilder

public interface JsonGenerator
This defines all methods required to convert a Java object into a JSON object interperable by this framework.
  • Method Summary

    Modifier and Type Method Description
    Json convertToJSON()
    Convert the current Java Class into a Java-JSON JSON representation of itself.
  • Method Details

    • convertToJSON

      Json convertToJSON() throws JsonException
      Convert the current Java Class into a Java-JSON JSON representation of itself.
      Returns:
      The Java-JSON representation of this class as a JSON object.
      Throws:
      JsonException - Thrown if there was a problem during the conversion process from Java into JSON, likely due to a violation of the JSON rules from this framework.