Einhugur Serialization Framework for Xojo

JSONSerializer.DeSerialize Method

De-serialize's a class structure. (This variation allows for setting default text encoding to be set on read string properties)

DeSerialize(
   item as Object,
   rootName as String,
   jsonDoc as JSONNode,
   defaultEncoding as TextEncoding)

Parameters

item
The object to de-serialize into
rootName
Name of the root.
jsonDoc
The JSON Document to be de-serialized.
defaultEncoding
The default encoding to set on string properties that are read.

Remarks

See Also

JSONSerializer Class