1.创建实体对像json import com.alibaba.fastjson.annotation.JSONField; import java.util.Date; public class Student { private int id; private String name; @JSONField(format = "yyyy-MM-dd hh:mm:ss") private Date birthDay; private boolean sex; public int g
Djinni 是一个用来生成跨语言的类型声明和接口绑定的工具,主要用于 C++ 和 Java 以及 Objective-C 间的互通. 示例接口定义文件: # Multi-line comments can be added here. This comment will be propagated # to each generated definition. my_enum = enum { option1; option2; option3; } my_record = record {