Bagikan melalui


PronunciationAssessmentConfig.FromJson(String) Method

Definition

Creates an instance of the PronunciationAssessmentConfig from JSON-formatted text.

public static Microsoft.CognitiveServices.Speech.PronunciationAssessment.PronunciationAssessmentConfig FromJson (string json);
static member FromJson : string -> Microsoft.CognitiveServices.Speech.PronunciationAssessment.PronunciationAssessmentConfig
Public Shared Function FromJson (json As String) As PronunciationAssessmentConfig

Parameters

json
String

The JSON-formatted string containing the pronunciation assessment parameters.

Returns

A new PronunciationAssessmentConfig instance.

Remarks

You can use JSON-formatted text rather than constructor parameters to configure the pronunciation assessment.

See also: Pronunciation assessment parameters

Applies to