private static String writeStringForOperation(final TableOperation operation, TablePayloadFormat format,
            final OperationContext opContext) throws StorageException, IOException {
        Utility.assertNotNull("entity", operation.getEntity());
        final StringWriter outWriter = new StringWriter();

        TableEntitySerializer.writeSingleEntity(outWriter, operation.getEntity(), false, opContext);
        outWriter.write("\r\n");

        return outWriter.toString();
    }
private static String writeStringForOperation(final TableOperation operation, TablePayloadFormat format,
            final OperationContext opContext) throws StorageException, IOException {
        Utility.assertNotNull("entity", operation.getEntity());
        final StringWriter outWriter = new StringWriter();

        TableEntitySerializer.writeSingleEntity(outWriter, operation.getEntity(), false, opContext);
        outWriter.write("\r\n");

        return outWriter.toString();
    }
private static String writeStringForOperation ( final TableOperation operation , TablePayloadFormat format , final OperationContext opContext ) throws StorageException , IOException { Utility . assertNotNull ( "entity" , operation . getEntity ( ) ) ; final StringWriter outWriter = new StringWriter ( ) ; TableEntitySerializer . writeSingleEntity ( outWriter , operation . getEntity ( ) , false , opContext ) ; outWriter . write ( "\r\n" ) ; return outWriter . toString ( ) ; }
Reserved for internal use. Generates a <code>String</code> containing the entity associated with an operation in
Json format.

@param operation
A {@link TableOperation} containing the entity to write to the returned <code>String</code>.
@param opContext
An {@link OperationContext} object for tracking the current operation. Specify <code>null</code> to
safely ignore operation context.
@return
A <code>String</code> containing the entity associated with the operation in Json format
@throws StorageException
if a Storage error occurs.
@throws IOException
Reserved for internal use . Generates a <code > String< / code > containing the entity associated with an operation in Json format .