Interface JsonGenerator

All Known Implementing Classes:
JsonGeneratorImpl

public interface JsonGenerator
Version:
$Id: JsonGenerator.java 34417 2009-07-23 14:42:56Z dkatayev $
Author:
Andrey Parfonov
  • Method Summary

    Modifier and Type
    Method
    Description
    Get HashMap representation for Java Bean object.
  • Method Details

    • createJsonObject

      JsonValue createJsonObject(Object bean) throws JsonException
      Get HashMap representation for Java Bean object.
      Parameters:
      bean - the source object.
      Returns:
      the HashMap which represented give JavaBean.
      Throws:
      JsonException - if Object can't be transformed in JSON representation.