Show / Hide Table of Contents

Class DynamicSerializer

The DynamicSerializer used for deserializing json strings into java objects with a classified class name. Used for deserializing into IStatistics, IImageContainer, IMetaInformation and IVISABFile.

Inheritance
java.lang.Object
DynamicSerializer
Inherited Members
java.lang.Object.clone()
java.lang.Object.equals(java.lang.Object)
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Namespace:
Assembly: .dll
Syntax
public final class DynamicSerializer

Constructors

DynamicSerializer()

Declaration
public DynamicSerializer()

Methods

deserializeImage(String json, String game)

Deserialize a json string into a IImage instance.

Declaration
public static final IImageContainer deserializeImage(String json, String game)
Parameters
Type Name Description
java.lang.String json

The json to deserialize

java.lang.String game

The game for which to deserialize a image

Returns
Type Description
IImageContainer

An IImage object if successful, null else

deserializeMetaInformation(String json)

Deserializes a json string into a IMetaInformation instance.

Declaration
public static final IMetaInformation deserializeMetaInformation(String json)
Parameters
Type Name Description
java.lang.String json

The json to deserialize

Returns
Type Description
IMetaInformation

A IMetaInformation object is successful, null else

deserializeStatistics(String json, String game)

Deserialize a json string into a IStatistics instance.

Declaration
public static final IStatistics deserializeStatistics(String json, String game)
Parameters
Type Name Description
java.lang.String json

The json to deserialize

java.lang.String game

The game for which to deserialize a file

Returns
Type Description
IStatistics

An IStatistics object if successful, null else

deserializeVISABFile(String json, String game)

Deserialize a json string into a IVISABFile instance.

Declaration
public static final IVISABFile deserializeVISABFile(String json, String game)
Parameters
Type Name Description
java.lang.String json

The json to deserialize

java.lang.String game

The game for which to deserialize a file

Returns
Type Description
IVISABFile

An IVISABFile object if successful, null else

In This Article
Back to top Generated by DocFX