aQute.lib.json.ByteArrayHandler Maven / Gradle / Ivy
package aQute.lib.json;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.Map;
import aQute.lib.base64.Base64;
import aQute.lib.hex.Hex;
/**
* Will now use hex for encoding byte arrays
*/
public class ByteArrayHandler extends Handler {
@Override
public void encode(Encoder app, Object object, Map