Appearance
GetObject Method
Definition
- Namespace:
JASE.Serializers - Assembly:
JASE.Serializers.dll
Overloads
| Name | Description |
|---|---|
JsonElement GetObject(byte[] json) | Parses a UTF8 byte array into a JsonElement, explicitly verifying it is an object. |
JsonElement GetObject(string json) | Parses a string into a JsonElement, explicitly verifying it is an object. |
JsonElement GetObject(byte[] json)
csharp
JsonElement GetObject(byte[] json)Parses a UTF8 byte array into a JsonElement, explicitly verifying it is an object.
Parameters
| Name | Description |
|---|---|
json | byte[] containing JSON |
JsonElement GetObject(string json)
csharp
JsonElement GetObject(string json)Parses a string into a JsonElement, explicitly verifying it is an object.
Parameters
| Name | Description |
|---|---|
json | string containing JSON |