Click or drag to resize
IReaderSpiSetBuilders Method

[This is preliminary documentation and is subject to change.]

Specifies a custom IDictionaryReader and IListReader to use when parsing native dictionary and lists in JSON or MessagePack. Implementations must accept any type of input and must return dictionaries or lists of any type of content. This function must be called before Reader.Read is called.

Namespace: NForza.Transit.Spi
Assembly: Transit (in Transit.dll) Version: 0.8.1-alpha
Syntax
C#
IReader SetBuilders(
	IDictionaryReader dictionaryBuilder,
	IListReader listBuilder
)

Parameters

dictionaryBuilder
Type: NForza.TransitIDictionaryReader
A custom IDictionaryReader that produces a dictionary of objects to objects
listBuilder
Type: NForza.TransitIListReader
A custom IListReader that yields a list of objects.

Return Value

Type: IReader
A reader
See Also