Show / Hide Table of Contents

    DataTableExtensions.ImportJson(this DataTable dataTable, string json) Method

    .NET Standard 2.x

    Import data from a JSON string into the DataTable.

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Syntax

    public static int ImportJson(this DataTable dataTable, string json)
    

    Parameters

    json System.String

    A string specifying the JSON data.

    The JSON string must comply with the Plain JSON or DataWindow JSON.

    Returns

    System.Int32

    Returns the number of rows that were imported if it succeeds.

    Examples

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon