Click or drag to resize

RuleSerializer Class

Provides functionality to serialize rules to JSON and deserialize JSON into rules.
Inheritance Hierarchy
SystemObject
  NRules.JsonRuleSerializer

Namespace:  NRules.Json
Assembly:  NRules.Json (in NRules.Json.dll) Version: 0.9.3
Syntax
C#
public static class RuleSerializer
Methods
  NameDescription
Public methodStatic memberGetConverters
Creates custom JSON converters that can be used with JsonSerializerOptions and JsonSerializer to serialize IRuleDefinition objects to JSON and deserialize JSON into IRuleDefinition objects.
Public methodStatic memberGetConverters(ITypeResolver)
Creates custom JSON converters that can be used with JsonSerializerOptions and JsonSerializer to serialize IRuleDefinition objects to JSON and deserialize JSON into IRuleDefinition objects.
Public methodStatic memberSetup(JsonSerializerOptions)
Configures JsonSerializerOptions, so that it can be used with the JsonSerializer to serialize IRuleDefinition objects to JSON and deserialize JSON into IRuleDefinition objects.
Public methodStatic memberSetup(JsonSerializerOptions, ITypeResolver)
Configures JsonSerializerOptions, so that it can be used with the JsonSerializer to serialize IRuleDefinition objects to JSON and deserialize JSON into IRuleDefinition objects.
Top
See Also