Examples of FastjsonBeanToArrayCodec


Examples of com.alibaba.json.test.codec.FastjsonBeanToArrayCodec

       // 注意,byte[]在jackson中是使用base64编码的,不正确的。

        BenchmarkExecutor executor = new BenchmarkExecutor();
        executor.setExecuteCount(5);
//        executor.getCodecList().add(new FastjsonCodec());
        executor.getCodecList().add(new FastjsonBeanToArrayCodec());
//        executor.getCodecList().add(new JacksonCodec());
//        executor.getCodecList().add(new Jackson2Codec());
        //
        // executor.getCodecList().add(new SimpleJsonCodec());
        // executor.getCodecList().add(new JsonLibCodec());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.