Show / Hide Table of Contents

Interface ISerializer

Defines a custom serializer.

Namespace: Manatee.Json.Serialization
Assembly: Manatee.Json.dll
Syntax
public interface ISerializer

Properties

| Improve this Doc View Source

ShouldMaintainReferences

Determines if this serializer should maintain referential integrity.

Declaration
bool ShouldMaintainReferences { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Deserialize(DeserializationContext)

Deserializes a JsonValue into a value.

Declaration
object Deserialize(DeserializationContext context)
Parameters
Type Name Description
DeserializationContext context
Returns
Type Description
System.Object

The typed value represented by the JSON data.

| Improve this Doc View Source

Handles(SerializationContextBase)

Determines whether the serializer handles a specific type or JSON value given the current options.

Declaration
bool Handles(SerializationContextBase context)
Parameters
Type Name Description
SerializationContextBase context
Returns
Type Description
System.Boolean

true if the serializer is up to the task; false otherwise.

| Improve this Doc View Source

Serialize(SerializationContext)

Serializes a value.

Declaration
JsonValue Serialize(SerializationContext context)
Parameters
Type Name Description
SerializationContext context
Returns
Type Description
JsonValue

A JsonValue that represents the value.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX