return cb.append("_").flip().toString(); //$NON-NLS-1$
}
public static SQLXML jsonToXml(CommandContext context, final String rootName, final Blob json) throws TeiidComponentException, TeiidProcessingException, SQLException, IOException {
InputStream is = json.getBinaryStream();
PushbackInputStream pStream = new PushbackInputStream(is, 4);
byte[] encoding = new byte[3];
int read = pStream.read(encoding);
pStream.unread(encoding, 0, read);
Charset charset = UTF_8;
if (read > 2) {
if (encoding[0] == 0) {
if (encoding[1] == 0) {
charset = UTF_32BE;