| java.lang.Object com.flexive.war.JsonWriter
JsonWriter | public class JsonWriter (Code) | | A simple abstraction for JSON writers, including trivial
output format checks.
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
finishResponse | public JsonWriter finishResponse()(Code) | | Close the response, checking if the response is valid.
this |
setSingleQuotesForStrings | public JsonWriter setSingleQuotesForStrings(boolean singleQuotesForStrings)(Code) | | Enable/disable the usage of single quotes (') for string values (default:true).
Using single quotes makes encoding of XHTML content much easier, since
XHTML attribute values have to use double quotes (").
Parameters: singleQuotesForStrings - true to enable the usage of single quotes (') for string values this |
|
|