How do I start this framework from starting?
Hi, As I got this framework link from google, and I want to use this framework to convert the my json data to model class. As I am not getting the proper information in detail,so I need some more information about where I need to pass the JSON data. I have installed the gem on my machine.
$ uppercrust generate --path {path} --base_only true|false
In the above command, there is nothing where I pass the json data. And also I have taken the clone this framework on my machine.
Thanks, Dinesh S
Hi,
the --path parameter is what you pass in to tell uppercrust where your JSON schema files are located. If you run the command from the directory that contains the schema files, just pass in . as current folder.
e.g.
# Run in same directory
$ uppercrust generate -p .
# Run and pass in path to directory
$ uppercrust generate -p {some other path}
It'll generate an output folder with your ObjC files in the directory that you ran the command from.