org.exoplatform.ws.frameworks.json
Interface JsonGenerator

All Known Implementing Classes:
JsonGeneratorImpl

public interface JsonGenerator

Version:
$Id: $
Author:
Andrey Parfonov

Method Summary
 JsonValue createJsonObject(java.lang.Object bean)
          Get HashMap representation for Java Bean object.
 

Method Detail

createJsonObject

JsonValue createJsonObject(java.lang.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.


Copyright © 2010 eXo Platform SAS. All Rights Reserved.