Click or drag to resize

SerializableEntityLoadAll(String) Method

This is preliminary documentation and is subject to change.

Synchronously enumerates a JSON array of the serialized Wikibase entities contained in the specified stream.

Namespace: WikiClientLibrary.Wikibase
Assembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public static IEnumerable<SerializableEntity?> LoadAll(
	string fileName
)

Parameters

fileName  String
The path of file containing the serialized JSON array of entities.

Return Value

IEnumerableSerializableEntity
A sequence that, when enumerated, will read a JSON array from the stream, and parses it into a sequence of SerializableEntitys. If there is null in the JSON array, null will be enumerated in the sequence.
Exceptions
ExceptionCondition
JsonExceptionThe stream does not contain a JSON array of objects; OR there is extraneous content after the root JSON array.
See Also