Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Text.Json.Nodes.JsonValueNotTrimmable< TValue > Class Template Referencesealed

Public Member Functions

 JsonValueNotTrimmable (TValue value, JsonNodeOptions? options=null)
 
override void WriteTo (Utf8JsonWriter writer, JsonSerializerOptions options=null)
 
string GetPath ()
 
bool TryGetValue< T > ([NotNullWhen(true)] out T? value)
 
override bool TryGetValue< T > ([NotNullWhen(true)] out T value)
 
override T GetValue< T > ()
 
JsonArray AsArray ()
 
JsonObject AsObject ()
 
JsonValue AsValue ()
 
string ToJsonString (JsonSerializerOptions? options=null)
 
override string ToString ()
 
void WriteTo (Utf8JsonWriter writer, JsonSerializerOptions? options=null)
 

Static Public Member Functions

static JsonValue Create (bool value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (bool? value, JsonNodeOptions? options=null)
 
static JsonValue Create (byte value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (byte? value, JsonNodeOptions? options=null)
 
static JsonValue Create (char value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (char? value, JsonNodeOptions? options=null)
 
static JsonValue Create (DateTime value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (DateTime? value, JsonNodeOptions? options=null)
 
static JsonValue Create (DateTimeOffset value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (DateTimeOffset? value, JsonNodeOptions? options=null)
 
static JsonValue Create (decimal value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (decimal? value, JsonNodeOptions? options=null)
 
static JsonValue Create (double value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (double? value, JsonNodeOptions? options=null)
 
static JsonValue Create (Guid value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (Guid? value, JsonNodeOptions? options=null)
 
static JsonValue Create (short value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (short? value, JsonNodeOptions? options=null)
 
static JsonValue Create (int value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (int? value, JsonNodeOptions? options=null)
 
static JsonValue Create (long value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (long? value, JsonNodeOptions? options=null)
 
static JsonValue Create (sbyte value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (sbyte? value, JsonNodeOptions? options=null)
 
static JsonValue Create (float value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (float? value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (string? value, JsonNodeOptions? options=null)
 
static JsonValue Create (ushort value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (ushort? value, JsonNodeOptions? options=null)
 
static JsonValue Create (uint value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (uint? value, JsonNodeOptions? options=null)
 
static JsonValue Create (ulong value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (ulong? value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (JsonElement value, JsonNodeOptions? options=null)
 
static ? JsonValue Create (JsonElement? value, JsonNodeOptions? options=null)
 
static ? JsonValue Create< T > (T? value, JsonNodeOptions? options=null)
 
static ? JsonValue Create< T > (T? value, JsonTypeInfo< T > jsonTypeInfo, JsonNodeOptions? options=null)
 
static implicit operator JsonNode (bool value)
 
static implicit operator JsonNode (byte value)
 
static implicit operator JsonNode (char value)
 
static implicit operator JsonNode (DateTime value)
 
static implicit operator JsonNode (DateTimeOffset value)
 
static implicit operator JsonNode (decimal value)
 
static implicit operator JsonNode (double value)
 
static implicit operator JsonNode (Guid value)
 
static implicit operator JsonNode (short value)
 
static implicit operator JsonNode (int value)
 
static implicit operator JsonNode (long value)
 
static implicit operator JsonNode (sbyte value)
 
static implicit operator JsonNode (float value)
 
static implicit operator JsonNode (ushort value)
 
static implicit operator JsonNode (uint value)
 
static implicit operator JsonNode (ulong value)
 
static implicit operator JsonNode? (bool? value)
 
static implicit operator JsonNode? (byte? value)
 
static implicit operator JsonNode? (char? value)
 
static implicit operator JsonNode? (DateTime? value)
 
static implicit operator JsonNode? (DateTimeOffset? value)
 
static implicit operator JsonNode? (decimal? value)
 
static implicit operator JsonNode? (double? value)
 
static implicit operator JsonNode? (Guid? value)
 
static implicit operator JsonNode? (short? value)
 
static implicit operator JsonNode? (int? value)
 
static implicit operator JsonNode? (long? value)
 
static implicit operator JsonNode? (sbyte? value)
 
static implicit operator JsonNode? (float? value)
 
static implicit operator JsonNode? (string? value)
 
static implicit operator JsonNode? (ushort? value)
 
static implicit operator JsonNode? (uint? value)
 
static implicit operator JsonNode? (ulong? value)
 
static operator bool (JsonNode value)
 
static operator bool? (JsonNode? value)
 
static operator byte (JsonNode value)
 
static operator byte? (JsonNode? value)
 
static operator char (JsonNode value)
 
static operator char? (JsonNode? value)
 
static operator DateTime (JsonNode value)
 
static operator DateTime? (JsonNode? value)
 
static operator DateTimeOffset (JsonNode value)
 
static operator DateTimeOffset? (JsonNode? value)
 
static operator decimal (JsonNode value)
 
static operator decimal? (JsonNode? value)
 
static operator double (JsonNode value)
 
static operator double? (JsonNode? value)
 
static operator Guid (JsonNode value)
 
static operator Guid? (JsonNode? value)
 
static operator short (JsonNode value)
 
static operator short? (JsonNode? value)
 
static operator int (JsonNode value)
 
static operator int? (JsonNode? value)
 
static operator long (JsonNode value)
 
static operator long? (JsonNode? value)
 
static operator sbyte (JsonNode value)
 
static operator sbyte? (JsonNode? value)
 
static operator float (JsonNode value)
 
static operator float? (JsonNode? value)
 
static operator string? (JsonNode? value)
 
static operator ushort (JsonNode value)
 
static operator ushort? (JsonNode? value)
 
static operator uint (JsonNode value)
 
static operator uint? (JsonNode? value)
 
static operator ulong (JsonNode value)
 
static operator ulong? (JsonNode? value)
 
static ? JsonNode Parse (ref Utf8JsonReader reader, JsonNodeOptions? nodeOptions=null)
 
static ? JsonNode Parse (string json, JsonNodeOptions? nodeOptions=null, JsonDocumentOptions documentOptions=default(JsonDocumentOptions))
 
static ? JsonNode Parse (ReadOnlySpan< byte > utf8Json, JsonNodeOptions? nodeOptions=null, JsonDocumentOptions documentOptions=default(JsonDocumentOptions))
 
static ? JsonNode Parse (Stream utf8Json, JsonNodeOptions? nodeOptions=null, JsonDocumentOptions documentOptions=default(JsonDocumentOptions))
 

Public Attributes

readonly TValue _value
 

Package Functions

override void GetPath (List< string > path, JsonNode child)
 
TypeToConvert ConvertJsonElement< TypeToConvert > ()
 
bool TryConvertJsonElement< TypeToConvert > ([NotNullWhen(true)] out TypeToConvert result)
 
void AssignParent (JsonNode parent)
 

Static Package Attributes

const string CreateUnreferencedCodeMessage = "Creating JsonValue instances with non-primitive types is not compatible with trimming. It can result in non-primitive types being serialized, which may have their members trimmed."
 

Properties

TValue Value [get]
 
JsonNodeOptionsOptions [get]
 
JsonNodeParent [get, set]
 
JsonNode Root [get]
 
JsonNodethis[int index] [get, set]
 
JsonNodethis[string propertyName] [get, set]
 

Static Private Member Functions

static void VerifyJsonElementIsNotArrayOrObject (ref JsonElement element)
 

Private Attributes

JsonNode _parent
 
JsonNodeOptions_options
 

Detailed Description

Definition at line 5 of file JsonValueNotTrimmable.cs.


The documentation for this class was generated from the following file: