public class JsonToFlist
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
convert(JsonNode rootJsonNode)
Method to convert input JsonNode object to Flist.
|
void |
convert(java.lang.String jsonString)
Method to convert input JSON in string format to Flist.
|
FList |
getFList()
Get the flist represented by the JSON.
|
static JsonToFlist |
getInstance()
Public method to instantiate this class.
|
static void |
main(java.lang.String[] args)
Main method to test this class independently.
|
public static JsonToFlist getInstance()
public void convert(java.lang.String jsonString)
throws java.io.IOException,
EBufException
jsonString - Input JSON string to be converted.java.io.IOException - IO Exception.EBufException - Generic Ebuf Exception.``public void convert(JsonNode rootJsonNode)
throws EBufException
rootJsonNode - Input JSON Node object to be converted.EBufException - Generic Ebuf Exception.``public FList getFList()
public static void main(java.lang.String[] args)
args - Filename with input flist.