JsonSerializationUtils.DeserializeFromFile<T>

Deserializes an object from file and returns a reference.

public static T DeserializeFromFile<T>(string fileName,
	bool throwExceptions)

Return Value

Instance of the deserialized object or null. Must be cast to your object type

Parameters

fileName
name of the file to serialize to

throwExceptions
determines whether failure will throw rather than return null on failure


See also:

Class JsonSerializationUtils

© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic