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.3+0a73c45f0c78941900e328c6c6b819597b665e00
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