* Convert arbitrary convertible data into a JSON string and write it out
* to the given Writer
*/
public static void toJson(Object data, Writer out) throws IOException
{
JsonSerializer serializer = JsonSerializerFactory.get();
serializer.toJson(data, out);
}