Noda Time
NodaTime.Serialization.JsonNet Namespace
NamespacesNodaTime.Serialization.JsonNet

[This is preliminary documentation and is subject to change.]

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

Code in this namespace is not currently included in Noda Time NuGet packages; it is still deemed "experimental". To use these serializers, please download and build the Noda Time source code from the project home page.

Declaration Syntax
C#Visual BasicVisual C++
namespace NodaTime.Serialization.JsonNet
Namespace NodaTime.Serialization.JsonNet
namespace NodaTime.Serialization.JsonNet
Types
All TypesClasses
IconTypeDescription
Extensions
Static class containing extension methods to configure Json.NET for Noda Time types.

NodaConverterBase<(Of <(<'T>)>)>
Base class for all the Json.NET converters which handle value types (which is most of them). This deals 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.

NodaPatternConverter<(Of <(<'T>)>)>
A JSON converter for types which can be represented by a single string value, parsed or formatted from an IPattern<(Of <(<'T>)>)>.