eXo WS :: Framework :: JSON 2.4.0-Alpha1

org.exoplatform.ws.frameworks.json
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
 JsonValue createJsonObject(Object bean)
          Get HashMap representation for Java Bean object.
 

Method Detail

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.

eXo WS :: Framework :: JSON 2.4.0-Alpha1

Copyright © 2013 eXo Platform SAS. All Rights Reserved.