Skip to main content
Version: 3.5

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.

public class WisejSerializer

Methods

Static memberParse(json)

Deserializes a JSON string to a System.Wisej.Core.DynamicObject.

ParameterTypeDescription
jsonStringThe JSON source string.

Returns: Object. A DynamicObject representing the JSON data.

Static memberParse(stream)

Deserializes a JSON stream to a System.Wisej.Core.DynamicObject.

ParameterTypeDescription
streamStreamThe JSON source stream.

Returns: Object. A DynamicObject representing the JSON data.

Static memberSerialize(value, options)

Serializes an object to standard JSON.

ParameterTypeDescription
valueObjectValue to serialize to JSON.
options optionalWisejSerializerOptionsSerializer options.

Returns: String. The JSON representation of value .