Click or drag to resize

FileRevisionExtMetadataValueValue Property

This is preliminary documentation and is subject to change.

Metadata value JSON.

Namespace: WikiClientLibrary.Files
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public JsonElement Value { get; init; }

Property Value

JsonElement
Remarks
According to mw:API:Imageinfo, the metadata value is expected to be formatted HTML expression. But sometimes the value could be a JSON string of "True", "true", or a JSON number. You need to retrieve the corresponding JSON value into your expected CLR type before working on it. Alternatively, you can leverage the GetValueAs* APIs in this class for more resilient type conversion.
See Also