Skip to content

IMutableJsonDocument.StoreValue Method

Definition

Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll

Overloads

Method Description
StoreValue(Guid) Stores a Guid value in the document.
StoreValue(ref DateTime) Stores a DateTime value in the document.
StoreValue(ref DateTimeOffset) Stores a DateTimeOffset value in the document.
StoreValue(ref OffsetDateTime) Stores an OffsetDateTime value in the document.
StoreValue(ref OffsetDate) Stores an OffsetDate value in the document.
StoreValue(ref OffsetTime) Stores an OffsetTime value in the document.
StoreValue(ref LocalDate) Stores a LocalDate value in the document.
StoreValue(ref Period) Stores a Period value in the document.
StoreValue(sbyte) Stores an SByte value in the document.
StoreValue(byte) Stores a Byte value in the document.
StoreValue(int) Stores an Int32 value in the document.
StoreValue(uint) Stores a UInt32 value in the document.
StoreValue(long) Stores a Int64 value in the document.
StoreValue(ulong) Stores a UInt64 value in the document.
StoreValue(short) Stores a Int16 value in the document.
StoreValue(ushort) Stores a UInt16 value in the document.
StoreValue(float) Stores a Single value in the document.
StoreValue(double) Stores a Double value in the document.
StoreValue(decimal) Stores a Decimal value in the document.
StoreValue(ref BigInteger) Stores a BigInteger value in the document.
StoreValue(ref BigNumber) Stores a BigNumber value in the document.
StoreValue(Int128) Stores an Int128 value in the document.
StoreValue(UInt128) Stores a UInt128 value in the document.
StoreValue(Half) Stores a Half value in the document.

StoreValue(Guid)

Source: IMutableJsonDocument.cs

Stores a Guid value in the document.

public abstract int StoreValue(Guid value)

Parameters

Name Type Description
value Guid The Guid value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(ref DateTime)

Source: IMutableJsonDocument.cs

Stores a DateTime value in the document.

public abstract int StoreValue(ref DateTime value)

Parameters

Name Type Description
value ref DateTime The DateTime value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(ref DateTimeOffset)

Source: IMutableJsonDocument.cs

Stores a DateTimeOffset value in the document.

public abstract int StoreValue(ref DateTimeOffset value)

Parameters

Name Type Description
value ref DateTimeOffset The DateTimeOffset value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(ref OffsetDateTime)

Source: IMutableJsonDocument.cs

Stores an OffsetDateTime value in the document.

public abstract int StoreValue(ref OffsetDateTime value)

Parameters

Name Type Description
value ref OffsetDateTime The OffsetDateTime value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(ref OffsetDate)

Source: IMutableJsonDocument.cs

Stores an OffsetDate value in the document.

public abstract int StoreValue(ref OffsetDate value)

Parameters

Name Type Description
value ref OffsetDate The OffsetDate value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(ref OffsetTime)

Source: IMutableJsonDocument.cs

Stores an OffsetTime value in the document.

public abstract int StoreValue(ref OffsetTime value)

Parameters

Name Type Description
value ref OffsetTime The OffsetTime value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(ref LocalDate)

Source: IMutableJsonDocument.cs

Stores a LocalDate value in the document.

public abstract int StoreValue(ref LocalDate value)

Parameters

Name Type Description
value ref LocalDate The LocalDate value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(ref Period)

Source: IMutableJsonDocument.cs

Stores a Period value in the document.

public abstract int StoreValue(ref Period value)

Parameters

Name Type Description
value ref Period The Period value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(sbyte)

Source: IMutableJsonDocument.cs

Stores an SByte value in the document.

public abstract int StoreValue(sbyte value)

Parameters

Name Type Description
value sbyte The SByte value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(byte)

Source: IMutableJsonDocument.cs

Stores a Byte value in the document.

public abstract int StoreValue(byte value)

Parameters

Name Type Description
value byte The Byte value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(int)

Source: IMutableJsonDocument.cs

Stores an Int32 value in the document.

public abstract int StoreValue(int value)

Parameters

Name Type Description
value int The Int32 value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(uint)

Source: IMutableJsonDocument.cs

Stores a UInt32 value in the document.

public abstract int StoreValue(uint value)

Parameters

Name Type Description
value uint The UInt32 value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(long)

Source: IMutableJsonDocument.cs

Stores a Int64 value in the document.

public abstract int StoreValue(long value)

Parameters

Name Type Description
value long The Int64 value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(ulong)

Source: IMutableJsonDocument.cs

Stores a UInt64 value in the document.

public abstract int StoreValue(ulong value)

Parameters

Name Type Description
value ulong The UInt64 value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(short)

Source: IMutableJsonDocument.cs

Stores a Int16 value in the document.

public abstract int StoreValue(short value)

Parameters

Name Type Description
value short The Int16 value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(ushort)

Source: IMutableJsonDocument.cs

Stores a UInt16 value in the document.

public abstract int StoreValue(ushort value)

Parameters

Name Type Description
value ushort The UInt16 value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(float)

Source: IMutableJsonDocument.cs

Stores a Single value in the document.

public abstract int StoreValue(float value)

Parameters

Name Type Description
value float The Single value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(double)

Source: IMutableJsonDocument.cs

Stores a Double value in the document.

public abstract int StoreValue(double value)

Parameters

Name Type Description
value double The Double value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(decimal)

Source: IMutableJsonDocument.cs

Stores a Decimal value in the document.

public abstract int StoreValue(decimal value)

Parameters

Name Type Description
value decimal The Decimal value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(ref BigInteger)

Source: IMutableJsonDocument.cs

Stores a BigInteger value in the document.

public abstract int StoreValue(ref BigInteger value)

Parameters

Name Type Description
value ref BigInteger The BigInteger value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(ref BigNumber)

Source: IMutableJsonDocument.cs

Stores a BigNumber value in the document.

public abstract int StoreValue(ref BigNumber value)

Parameters

Name Type Description
value ref BigNumber The BigNumber value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

StoreValue(Int128)

Source: IMutableJsonDocument.cs

Stores an Int128 value in the document.

public abstract int StoreValue(Int128 value)

Parameters

Name Type Description
value Int128 The Int128 value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10

StoreValue(UInt128)

Source: IMutableJsonDocument.cs

Stores a UInt128 value in the document.

public abstract int StoreValue(UInt128 value)

Parameters

Name Type Description
value UInt128 The UInt128 value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10

StoreValue(Half)

Source: IMutableJsonDocument.cs

Stores a Half value in the document.

public abstract int StoreValue(Half value)

Parameters

Name Type Description
value Half The Half value to store.

Returns

int

The index of the stored value.

Applies To

Product Versions
.NET 9, 10

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue