Noda Time
Show / Hide Table of Contents

Namespace NodaTime.Serialization.JsonNet

The NodaTime.Serialization.JsonNet namespace contains support code to enable JSON serialization for Noda Time types using Json.NET.

Classes

DelegatingConverterBase

Converter which does nothing but delegate to another one for all operations.

Extensions

Static class containing extension methods to configure Json.NET for Noda Time types.

NodaConverterBase<T>

Base class for all the Json.NET converters which handle value types (which is most of them). This handles all the boilerplate code dealing with nullity.

NodaConverters

Convenience class to expose preconfigured converters for Noda Time types, and factory methods for creating those which require parameters.

NodaJsonSettings

A collection of converters and related settings for Noda Time JSON parsing. This can be used to configure Newtonsoft.Json serializers using the ConfigureForNodaTime(JsonSerializer, NodaJsonSettings) and ConfigureForNodaTime(JsonSerializerSettings, NodaJsonSettings) extension methods.

NodaPatternConverter<T>

A JSON converter for types which can be represented by a single string value, parsed or formatted from an IPattern<T>.
In this article
Back to top Generated by DocFX