import com.jsonty.*;
public class Main {
public static void main(String[] args) {
String json = Jsonty.toJson(person);
System.out.println(json);
}
}
class Person {
private String name;
private int age;
public Person(String name, int age) {
this.name = name;
this.age = age;
}
}
import com.jsonty.*;
public class Main {
public static void main(String[] args) {
Person person = Jsonty.fromJson(json, Person.class);
}
}