Class RuntimeProjectJsonSerializer
- java.lang.Object
-
- com.inductiveautomation.ignition.common.project.RuntimeProjectJsonSerializer
-
public class RuntimeProjectJsonSerializer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RuntimeProjectJsonSerializer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RuntimeProjectfromJson(java.io.InputStream stream)static RuntimeProjectfromJson(java.io.Reader reader)static RuntimeProjectfromJson(java.lang.String json)static java.lang.StringtoJson(RuntimeProject p)static voidtoJsonStream(RuntimeProject project, java.io.OutputStream outStream)Writes the project as JSON to the given output stream in UTF_8 encoding .
-
-
-
Method Detail
-
fromJson
public static RuntimeProject fromJson(java.lang.String json)
-
fromJson
public static RuntimeProject fromJson(java.io.InputStream stream)
-
fromJson
public static RuntimeProject fromJson(java.io.Reader reader)
-
toJson
public static java.lang.String toJson(RuntimeProject p)
-
toJsonStream
public static void toJsonStream(RuntimeProject project, java.io.OutputStream outStream) throws java.io.IOException
Writes the project as JSON to the given output stream in UTF_8 encoding . Does not close the stream.- Throws:
java.io.IOException
-
-