WisejSerializer
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.5.0.0)
Wisej super performant JSON serializer. This is a high performant and low memory footprint JSON serializer/deserializer. It has been optimized to work with Wisej DynamicObject and to streamline serialization/deserialization. It appears to be the fastest JSON serializer/deserializer using the least memory.
- C#
- VB.NET
public class WisejSerializer
Public Class WisejSerializer
Methods
Parse(json)
Deserializes a JSON string to a System.Wisej.Core.DynamicObject.
| Parameter | Type | Description |
|---|---|---|
| json | String | The JSON source string. |
Returns: Object. A DynamicObject representing the JSON data.
Parse(stream)
Deserializes a JSON stream to a System.Wisej.Core.DynamicObject.
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | The JSON source stream. |
Returns: Object. A DynamicObject representing the JSON data.
Serialize(value, options)
Serializes an object to standard JSON.
| Parameter | Type | Description |
|---|---|---|
| value | Object | Value to serialize to JSON. |
| options | WisejSerializerOptions | Serializer options. |
Returns: String. The JSON representation of value .