CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
System::Text::Json Namespace Reference

Namespaces

namespace  JsonCollectionExtensions
 Collection extension helpers used by the JSON serializer implementation.
 
namespace  Nodes
 
namespace  Serialization
 

Classes

class  Arguments
 
class  ArgumentState
 
class  BitStack
 
class  Details_JsonException
 
class  Details_JsonReaderException
 
class  JsonCamelCaseNamingPolicy
 
class  JsonConstants
 
class  JsonDocument
 
class  JsonDocumentOptions
 
class  JsonElement
 
class  JsonEncodedText
 
class  JsonHelpers
 
class  JsonMemoryMarshal
 Byte-span marshalling helpers used by the JSON reader/writer implementation. More...
 
class  JsonNamingPolicy
 
class  JsonPascalCaseNamingPolicy
 
class  JsonProperty
 
class  JsonReaderHelper
 
class  JsonReaderOptions
 
class  JsonReaderState
 
class  JsonSeparatorNamingPolicy
 
class  JsonSerializer
 
class  JsonSerializerOptions
 
class  JsonWriterHelper
 
class  JsonWriterOptions
 
class  PooledByteBufferWriter
 
class  ReadStack
 
class  ReadStackFrame
 
class  ThrowHelper
 
class  Utf8JsonReader
 
class  Utf8JsonWriter
 
class  Utf8JsonWriterCache
 
class  ValueQueue
 
class  WriteStack
 
class  WriteStackFrame
 

Typedefs

using JsonReaderException = System::ExceptionWrapper< Details_JsonReaderException >
 
using JsonException = System::ExceptionWrapper< Details_JsonException >
 

Enumerations

enum class  JsonValueKind : uint8_t {
  Undefined , Object , Array , String ,
  Number , True , False , Null
}
 
enum class  JsonCommentHandling { Disallow = 0 , Skip = 1 , Allow = 2 }
 
enum class  JsonTokenType : uint8_t {
  None = 0 , StartObject = 1 , EndObject = 2 , StartArray = 3 ,
  EndArray = 4 , PropertyName = 5 , Comment = 6 , String = 7 ,
  Number = 8 , True = 9 , False = 10 , Null = 11
}
 
enum class  ConsumeNumberResult : uint8_t { Success , OperationIncomplete , NeedMoreData }
 
enum class  ConsumeTokenResult : uint8_t { Success , NotEnoughDataRollBackState , IncompleteNoRollBackNecessary }
 
enum class  ConverterStrategy : uint8_t {
  None = static_cast<uint8_t>(0x0) , Object = static_cast<uint8_t>(0x1) , Value = static_cast<uint8_t>(0x2) , Enumerable = static_cast<uint8_t>(0x8) ,
  Dictionary = static_cast<uint8_t>(0x10)
}
 
enum class  JsonSerializerDefaults { General = 0 , Web = 1 , Strict = 2 }
 
enum class  MetadataPropertyName : uint8_t {
  None = 0 , Values = 1 , Id = 2 , Ref = 4 ,
  Type = 8
}
 
enum class  PolymorphicSerializationState : uint8_t { None , PolymorphicReEntryStarted , PolymorphicReEntrySuspended , PolymorphicReEntryNotFound }
 
enum class  StackFrameObjectState : uint8_t {
  None = 0 , StartToken , ReadMetadata , ConstructorArguments ,
  CreatedObject , ReadElements , EndToken , EndTokenValidation
}
 
enum class  StackFramePropertyState : uint8_t {
  None = 0 , ReadName , Name , ReadValue ,
  ReadValueIsEnd , TryRead
}
 
enum class  NumericType {
  Byte , SByte , Int16 , Int32 ,
  Int64 , Int128 , UInt16 , UInt32 ,
  UInt64 , UInt128 , Half , Single ,
  Double , Decimal , BFloat16 , Decimal32 ,
  Decimal64 , Decimal128
}
 
enum class  DataType {
  Boolean , DateOnly , DateTime , DateTimeOffset ,
  TimeOnly , TimeSpan , Base64String , Guid ,
  Version
}
 
enum class  ExceptionResource {
  ArrayDepthTooLarge , EndOfCommentNotFound , EndOfStringNotFound , RequiredDigitNotFoundAfterDecimal ,
  RequiredDigitNotFoundAfterSign , RequiredDigitNotFoundEndOfData , ExpectedEndAfterSingleJson , ExpectedEndOfDigitNotFound ,
  ExpectedFalse , ExpectedNextDigitEValueNotFound , ExpectedNull , ExpectedSeparatorAfterPropertyNameNotFound ,
  ExpectedStartOfPropertyNotFound , ExpectedStartOfPropertyOrValueNotFound , ExpectedStartOfPropertyOrValueAfterComment , ExpectedStartOfValueNotFound ,
  ExpectedTrue , ExpectedValueAfterPropertyNameNotFound , FoundInvalidCharacter , InvalidCharacterWithinString ,
  InvalidCharacterAfterEscapeWithinString , InvalidHexCharacterWithinString , InvalidEndOfJsonNonPrimitive , MismatchedObjectArray ,
  ObjectDepthTooLarge , ZeroDepthAtEnd , DepthTooLarge , CannotStartObjectArrayWithoutProperty ,
  CannotStartObjectArrayAfterPrimitiveOrClose , CannotWriteValueWithinObject , CannotWriteValueAfterPrimitiveOrClose , CannotWritePropertyWithinArray ,
  ExpectedJsonTokens , TrailingCommaNotAllowedBeforeArrayEnd , TrailingCommaNotAllowedBeforeObjectEnd , InvalidCharacterAtStartOfComment ,
  UnexpectedEndOfDataWhileReadingComment , UnexpectedEndOfLineSeparator , ExpectedOneCompleteToken , NotEnoughData ,
  InvalidLeadingZeroInNumber , CannotWriteWithinString , Argument_CannotExtractScalar , ArgumentOutOfRange_IndexMustBeLess
}
 

Functions

 DECLARE_ENUM_OPERATORS (System::Text::Json::ConverterStrategy)
 
 DECLARE_ENUM_OPERATORS (System::Text::Json::MetadataPropertyName)
 

Typedef Documentation

◆ JsonException

◆ JsonReaderException

Enumeration Type Documentation

◆ ConsumeNumberResult

enum class System::Text::Json::ConsumeNumberResult : uint8_t
strong
Enumerator
Success 
OperationIncomplete 
NeedMoreData 

◆ ConsumeTokenResult

enum class System::Text::Json::ConsumeTokenResult : uint8_t
strong
Enumerator
Success 
NotEnoughDataRollBackState 
IncompleteNoRollBackNecessary 

◆ ConverterStrategy

enum class System::Text::Json::ConverterStrategy : uint8_t
strong
Enumerator
None 
Object 
Value 
Enumerable 
Dictionary 

◆ DataType

enum class System::Text::Json::DataType
strong
Enumerator
Boolean 
DateOnly 
DateTime 
DateTimeOffset 
TimeOnly 
TimeSpan 
Base64String 
Guid 
Version 

◆ ExceptionResource

Enumerator
ArrayDepthTooLarge 
EndOfCommentNotFound 
EndOfStringNotFound 
RequiredDigitNotFoundAfterDecimal 
RequiredDigitNotFoundAfterSign 
RequiredDigitNotFoundEndOfData 
ExpectedEndAfterSingleJson 
ExpectedEndOfDigitNotFound 
ExpectedFalse 
ExpectedNextDigitEValueNotFound 
ExpectedNull 
ExpectedSeparatorAfterPropertyNameNotFound 
ExpectedStartOfPropertyNotFound 
ExpectedStartOfPropertyOrValueNotFound 
ExpectedStartOfPropertyOrValueAfterComment 
ExpectedStartOfValueNotFound 
ExpectedTrue 
ExpectedValueAfterPropertyNameNotFound 
FoundInvalidCharacter 
InvalidCharacterWithinString 
InvalidCharacterAfterEscapeWithinString 
InvalidHexCharacterWithinString 
InvalidEndOfJsonNonPrimitive 
MismatchedObjectArray 
ObjectDepthTooLarge 
ZeroDepthAtEnd 
DepthTooLarge 
CannotStartObjectArrayWithoutProperty 
CannotStartObjectArrayAfterPrimitiveOrClose 
CannotWriteValueWithinObject 
CannotWriteValueAfterPrimitiveOrClose 
CannotWritePropertyWithinArray 
ExpectedJsonTokens 
TrailingCommaNotAllowedBeforeArrayEnd 
TrailingCommaNotAllowedBeforeObjectEnd 
InvalidCharacterAtStartOfComment 
UnexpectedEndOfDataWhileReadingComment 
UnexpectedEndOfLineSeparator 
ExpectedOneCompleteToken 
NotEnoughData 
InvalidLeadingZeroInNumber 
CannotWriteWithinString 
Argument_CannotExtractScalar 
ArgumentOutOfRange_IndexMustBeLess 

◆ JsonCommentHandling

Enumerator
Disallow 
Skip 
Allow 

◆ JsonSerializerDefaults

Enumerator
General 
Web 
Strict 

◆ JsonTokenType

enum class System::Text::Json::JsonTokenType : uint8_t
strong
Enumerator
None 
StartObject 
EndObject 
StartArray 
EndArray 
PropertyName 
Comment 
String 
Number 
True 
False 
Null 

◆ JsonValueKind

enum class System::Text::Json::JsonValueKind : uint8_t
strong
Enumerator
Undefined 
Object 
Array 
String 
Number 
True 
False 
Null 

◆ MetadataPropertyName

enum class System::Text::Json::MetadataPropertyName : uint8_t
strong
Enumerator
None 
Values 
Id 
Ref 
Type 

◆ NumericType

Enumerator
Byte 
SByte 
Int16 
Int32 
Int64 
Int128 
UInt16 
UInt32 
UInt64 
UInt128 
Half 
Single 
Double 
Decimal 
BFloat16 
Decimal32 
Decimal64 
Decimal128 

◆ PolymorphicSerializationState

Enumerator
None 
PolymorphicReEntryStarted 
PolymorphicReEntrySuspended 
PolymorphicReEntryNotFound 

◆ StackFrameObjectState

enum class System::Text::Json::StackFrameObjectState : uint8_t
strong
Enumerator
None 
StartToken 
ReadMetadata 
ConstructorArguments 
CreatedObject 
ReadElements 
EndToken 
EndTokenValidation 

◆ StackFramePropertyState

enum class System::Text::Json::StackFramePropertyState : uint8_t
strong
Enumerator
None 
ReadName 
Name 
ReadValue 
ReadValueIsEnd 
TryRead 

Function Documentation

◆ DECLARE_ENUM_OPERATORS() [1/2]

System::Text::Json::DECLARE_ENUM_OPERATORS ( System::Text::Json::ConverterStrategy  )

◆ DECLARE_ENUM_OPERATORS() [2/2]

System::Text::Json::DECLARE_ENUM_OPERATORS ( System::Text::Json::MetadataPropertyName  )