Class JSONOperations
- java.lang.Object
- 
- de.hshannover.dqgui.framework.serialization.JSONOperations
 
- 
 public final class JSONOperations extends java.lang.ObjectBackbone of our serialization.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.ObjectfromJSON(java.lang.Class<?> toLoad, java.nio.file.Path path)Recover from JSON (with expose annotations)static voidtoJSON(java.lang.Object dump, java.nio.file.Path path)Dump as JSON (with expose annotations)
 
- 
- 
- 
Method Detail- 
toJSONpublic static void toJSON(java.lang.Object dump, java.nio.file.Path path) throws java.io.IOExceptionDump as JSON (with expose annotations)- Parameters:
- dump- object of choice.
- path- destination.
- Throws:
- java.io.IOException- Upsy daisy.
 
 - 
fromJSONpublic static java.lang.Object fromJSON(java.lang.Class<?> toLoad, java.nio.file.Path path) throws java.io.IOExceptionRecover from JSON (with expose annotations)- Parameters:
- toLoad- class structure of Object.
- path- of serialized JSON.
- Returns:
- Object of object (must be cast)
- Throws:
- java.io.IOException- if not existing.
 
 
- 
 
-