Table of Contents

Class TextJsonSerializerService

Namespace
H.Services.Serializable
Assembly
H.Services.Serializable.dll
public class TextJsonSerializerService : IJsonSerializerService, ISerializerService
Inheritance
TextJsonSerializerService
Implements
Inherited Members
Extension Methods

Methods

DeserializeObject(string, Type)

public object DeserializeObject(string txt, Type type)

Parameters

txt string
type Type

Returns

object

GetOptions()

protected virtual JsonSerializerOptions GetOptions()

Returns

JsonSerializerOptions

SerializeObject<T>(T)

public string SerializeObject<T>(T t)

Parameters

t T

Returns

string

Type Parameters

T