Class JSONPojoConvertorFactory

java.lang.Object
org.eclipse.jetty.util.ajax.JSONPojoConvertorFactory
All Implemented Interfaces:
JSON.Convertor

public class JSONPojoConvertorFactory extends Object implements JSON.Convertor
  • Constructor Details

    • JSONPojoConvertorFactory

      public JSONPojoConvertorFactory(JSON json)
    • JSONPojoConvertorFactory

      public JSONPojoConvertorFactory(JSON json, boolean fromJSON)
      Parameters:
      json - The JSON instance to use
      fromJSON - If true, the class name of the objects is included in the generated JSON and is used to instantiate the object when JSON is parsed (otherwise a Map is used).
  • Method Details