Click or drag to resize
IReaderSpi Interface

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

Interface for providing custom IDictionaryReader and IListReader implementations for a Reader to use when parsing native JSON or MessagePack composite structures. This entry point exists to enable Transit libraries for other .NET languages to layer on top of the C# Transit library, but still get language-appropriate dictionaries and lists returned from a parse, while ensuring that parsing and decoding work correctly. This interface should never be used by applications that using this library.

Namespace: NForza.Transit.Spi
Assembly: Transit (in Transit.dll) Version: 0.8.1-alpha
Syntax
C#
public interface IReaderSpi

The IReaderSpi type exposes the following members.

Methods
  NameDescription
Public methodSetBuilders
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.
Top
See Also