Struct JsonContent
Contents
[
Hide
]JsonContent structure
Represents an immutable json object stored in memory.
public struct JsonContent : ICloneable, IEquatable<JsonContent>
Properties
Name | Description |
---|---|
Content { get; } | Gets the dynamic json structure. |
Methods
Name | Description |
---|---|
static CreateFrom(IConvertible) | |
static CreateFrom(IDictionary) | |
static CreateFrom(IList) | |
static Parse(JsonDocument) | |
static Parse(string, JsonDocumentOptions) | Parses a json text an converts it to a JsonContent |
static Serialize(object, JsonSerializerOptions) | Converts the value of a specified type into a JsonContent using JsonSerializer. |
DeepClone() | |
Deserialize(Type, JsonSerializerOptions) | |
Deserialize<T>(JsonSerializerOptions) | |
Equals(JsonContent) | |
override Equals(object) | |
override GetHashCode() | |
GetNode(params IConvertible[]) | |
GetValue<T>(params IConvertible[]) | |
ToJson(JsonSerializerOptions) | |
static AreEqualByContent(JsonContent, JsonContent, float) | Compares two JsonContent objects for equality. |
static IsJsonSerializable(object) | |
static IsJsonSerializable(object, out object) | |
implicit operator | (6 operators) |
Remarks
The data structure is stored in memory as a DOM, using standard objects and collections. Use Serialize
and Deserialize
to convert to your types. Use Parse
and ToJson
to convert from/to raw json text.
See Also
- namespace Aspose.CAD.FileFormats.GLB.IO
- assembly Aspose.CAD