SQL Server · Types · Entities and values

ArxJsonB

Definition

Namespace
ARX.SDK.Models
Package
ARX.SDK
C#
public class ArxJsonB

A JSON value: written to a jsonb or json column as its SerializedValue text, and what those columns read back as.

Properties

  • string? SerializedValue { get; set; }

    The JSON text, as written to the column or read back from it.

Usage

C#

A line from a verified sample; the full, runnable code is on its page.

row["json_value"] = new ArxJsonB { SerializedValue = "{\"plan\": \"gold\", \"seats\": 25}" };  // {"plan": "gold", "seats": 25} (text, checked by ISJSON)

Every supported .NET type, and what SQL Server stores, scenario 1

Used in: