public class Jsonschema2Pojo extends Object
| Constructor and Description |
|---|
Jsonschema2Pojo() |
| Modifier and Type | Method and Description |
|---|---|
static void |
generate(GenerationConfig config)
Reads the contents of the given source and initiates schema generation.
|
static String |
getNodeName(String filePath,
GenerationConfig config) |
static String |
getNodeName(URL file,
GenerationConfig config) |
public static void generate(GenerationConfig config) throws IOException
config - the configuration options (including source and target paths,
and other behavioural options) that will control code
generationFileNotFoundException - if the source path is not foundIOException - if the application is unable to read data from the sourcepublic static String getNodeName(URL file, GenerationConfig config)
public static String getNodeName(String filePath, GenerationConfig config)
Copyright © 2019. All rights reserved.