org.artifact.core.YmlDemo Maven / Gradle / Ivy
The newest version!
package org.artifact.core;
import cn.hutool.core.lang.Console;
import org.artifact.core.util.protostuff.ProtostuffUtil;
/**
* @author : SandKing
* @CreateDate : 2020/3/25 11:05
* @Description :Please describe this document
*/
public class YmlDemo {
public static void main(String[] args) {
Object[] strings = new Object[]{null,"abc"};
byte[] data = ProtostuffUtil.serialize(strings);
strings = ProtostuffUtil.deserialize(data,Object[].class);
Console.log(strings);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy