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
    generate(Object object)
     
  • Method Details

    • generate

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