All pages
Powered by GitBook
1 of 1

Loading...

WisejSerializer

Wisej.Core.WisejSerializer

Namespace: Wisej.Core

Assembly: Wisej.Framework (2.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
Public Class WisejSerializer

Methods

Parse(json)

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

Parameter
Type
Description

Returns: . A representing the JSON data.

Parse(stream)

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

Parameter
Type
Description

Returns: . A representing the JSON data.

Serialize(value, options)

Serializes an object to standard JSON.

Parameter
Type
Description

Returns: . The JSON representation of value .

ToText(value)

Returns the correct string representation for value .

Parameter
Type
Description

Returns: . The correct string representation for value .

json

String

The JSON source string.

stream

Stream

The JSON source stream.

value

Object

Value to serialize to JSON.

options

WisejSerializerOptions

Serializer options.

value

Object

Value to convert to a string.

Object
DynamicObject
Object
DynamicObject
String
String