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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -