Try Playground
Show / Hide Table of Contents

Class JsonValue

Maps values other than the JObject and JArray in JSON standards to primitive value types.

Inheritance
System.Object
JsonValueBase
JsonValue
Inherited Members
JsonValueBase.Size
JsonValueBase.InMemorySize
JsonValueBase.DataType
JsonValueBase.Value
JsonValueBase.Parse(String)
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
[Obsolete("This API is deprecated and will be removed in a future release. This feature is being retired and will not be continued in future versions.", false)]
public sealed class JsonValue : JsonValueBase

Methods

Name Description
Equals(Object)

Checks if object is equal to JSON value object.

GetHashCode()

Gets HashCode of the value.

ToBoolean()

Attempts to convert JSON value to boolean.

ToByte()

Attempts to convert JSON value to byte.

ToDateTime()

Attempts to convert JSON value to DateTime with standard format and culture.

ToDateTime(String, IFormatProvider)

Attempts to convert JSON value to DateTime with provided format.

ToDecimal()

Attempts to convert JSON value to decimal.

ToDouble()

Attempts to convert JSON value to double.

ToFloat()

Attempts to convert JSON value to float.

ToInt16()

Attempts to convert JSON value to short.

ToInt32()

Attempts to convert JSON value to int 32.

ToInt64()

Attempts to convert JSON value to int 64.

ToSByte()

Attempts to convert JSON value to sbyte.

ToString()

Represents in string format.

ToStringValue()

Attempts to convert JSON value to string.

ToUInt16()

Attempts to convert JSON value to unsigned int 16.

ToUInt32()

Attempts to convert JSON value to unsigned int 32.

ToUInt64()

Attempts to convert JSON value to unsigned int 64.

Operators

Name Description
Explicit(String to JsonValue)

Explicit operator overload to convert string to JSONValue.

Implicit(BigInteger to JsonValue)

Implicit operator overload to convert BigInteger to JSONValue.

Implicit(Boolean to JsonValue)

Implicit operator overload to conveert boolean to JSONValue.

Implicit(Byte to JsonValue)

Implicit operator overload to convert byte to JSONValue.

Implicit(DateTime to JsonValue)

Implicit operator overload to conert DateTime to JSONValue with standard format and culture.

Implicit(Decimal to JsonValue)

Implicit operator overload to convert decimal to JSONValue.

Implicit(Double to JsonValue)

Implicit operator overload to convert double to JSONValue.

Implicit(Int16 to JsonValue)

Implicit operator overload to convert short to JSONValue.

Implicit(Int32 to JsonValue)

Implicit operator overload to convert int to JSONValue.

Implicit(Int64 to JsonValue)

Implicit operator overload to convert long to JSONValue.

Implicit(SByte to JsonValue)

Implicit operator overload to convert sbyte to JSONValue.

Implicit(Single to JsonValue)

Implicit operator overload to convert float to JSONValue.

Implicit(UInt16 to JsonValue)

Implicit operator overload to convert ushort to JSONValue.

Implicit(UInt32 to JsonValue)

Implicit operator overload to convert uint to JSONValue.

Implicit(UInt64 to JsonValue)

Implicit operator overload to convert ulong to JSONValue

In This Article
  • Methods
  • Operators

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
� Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top