Interface JSONContext.Generator

All Known Implementing Classes:
JacksonJSONContext.ObjectMapperGenerator, JettyJSONContext.JSONGenerator
Enclosing interface:
JSONContext<T extends Message.Mutable>

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

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

    • generate

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