Is there any why to create java object files with JSon string -
i want automator library take json
string , generates java
files.
example
input json = {name:"max",phone:"416465465",email:"xyx@gmail.com"}
output file
public class object{ public string name; public string phone; public string email; }
yes there is: jsonschema2pojo. have @ demo site.
it has mode generate pojos out of json schemas, out of "plain" json objects.
note: json schema draft v3 only, not v4.
Comments
Post a Comment