public class UpgradeModelJsonV4 extends Object
| Constructor and Description |
|---|
UpgradeModelJsonV4() |
| Modifier and Type | Method and Description |
|---|---|
static String |
transformJson(InputStream inputStream)
transformJson upgrades json passed through inputStream.
|
static String |
transformJson(String inputFile)
transformJson upgrades json passed in file.
|
public static String transformJson(String inputFile) throws IOException
inputFile - name of the file to read fromIOException - in the event of an IO errorpublic static String transformJson(InputStream inputStream) throws IOException
inputStream - InputStream of the JSON to upgradeIOException - in the event of an IO error