Table of Contents

IConfigurationRoot.AddJson Method

Adds JSON text held in memory.

Syntax

Unit: Bcl.Configuration

function IConfigurationRoot.AddJson(const AJson: string; const ASourceName: string): IConfigurationRoot; virtual; abstract;

Parameters

<-> Parameter Type Description
const AJson string The text, which must hold a JSON object.
const ASourceName string How error messages refer to this source, as in from embedded defaults.

See also