Interface JSONContext.Generator

Enclosing interface:
JSONContext<T extends org.cometd.bayeux.Message.Mutable>

public static interface JSONContext.Generator
A JSON stringifier.
  • Method Summary

    Modifier and Type Method Description
    String generate​(Object object)  
  • Method Details

    • generate

      String generate​(Object object)
      Parameters:
      object - the object to stringify
      Returns:
      the JSON string representing the object