Skip to content

GetObject Method ​

Definition ​

  • Namespace: JASE.Serializers
  • Assembly: JASE.Serializers.dll

Overloads ​

NameDescription
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 ​

NameDescription
jsonbyte[] containing JSON

JsonElement GetObject(string json) ​

csharp
JsonElement GetObject(string json)

Parses a string into a JsonElement, explicitly verifying it is an object.

Parameters ​

NameDescription
jsonstring containing JSON