Class XhtmlStringJsonConverter
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
XhtmlStringJsonConverter
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 10.10.4Syntax
[ServiceConfiguration(typeof(JsonConverter))]
public class XhtmlStringJsonConverter : JsonConverter
Constructors
XhtmlStringJsonConverter()
Declaration
public XhtmlStringJsonConverter()
Methods
CanConvert(Type)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Determines whether this instance can convert the specified object type.
Declaration
public override bool CanConvert(Type objectType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | objectType |
Returns
Type | Description |
---|---|
System.Boolean |
|
ReadJson(JsonReader, Type, Object, JsonSerializer)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
Newtonsoft.Json.JsonReader | reader | |
System.Type | objectType | |
System.Object | existingValue | |
Newtonsoft.Json.JsonSerializer | serializer |
Returns
Type | Description |
---|---|
System.Object |
WriteJson(JsonWriter, Object, JsonSerializer)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
Type | Name | Description |
---|---|---|
Newtonsoft.Json.JsonWriter | writer | |
System.Object | value | |
Newtonsoft.Json.JsonSerializer | serializer |