com.avaje.ebean.text.json
Interface JsonWriter


public interface JsonWriter

The JSON Writer made available to JsonWriteBeanVisitor's so that you can append your own JSON content into the output.

Author:
rbygrave
See Also:
JsonWriteBeanVisitor, JsonWriteOptions.setRootPathVisitor(JsonWriteBeanVisitor), JsonWriteOptions.setPathVisitor(String, JsonWriteBeanVisitor)

Method Summary
 void appendQuoteEscapeValue(String key, String rawJsonValue)
           
 void appendRawValue(String key, String rawJsonValue)
          Use this to append some custom content into the JSON output.
 

Method Detail

appendRawValue

void appendRawValue(String key,
                    String rawJsonValue)
Use this to append some custom content into the JSON output.

Parameters:
key - the json key
rawJsonValue - raw json value

appendQuoteEscapeValue

void appendQuoteEscapeValue(String key,
                            String rawJsonValue)


Copyright © 2012. All Rights Reserved.