IdentityRefOrJValueConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converter for property which is either an IdentityRef or a primitive type (JValue) In support of converting contracts were accepting primitive type representing identity and moving to IdentityRefNow
public class IdentityRefOrJValueConverter : Microsoft.VisualStudio.Services.WebApi.VssSecureJsonConverter
type IdentityRefOrJValueConverter = class
inherit VssSecureJsonConverter
Public Class IdentityRefOrJValueConverter
Inherits VssSecureJsonConverter
- Inheritance
-
Microsoft.VisualStudio.Services.WebApi.VssSecureJsonConverterIdentityRefOrJValueConverter
Constructors
| IdentityRefOrJValueConverter() |
Properties
| CanWrite |
For writing, we don't need anything special, so just do the default serialization |
Methods
| CanConvert(Type) | |
| ReadJson(JsonReader, Type, Object, JsonSerializer) | |
| WriteJson(JsonWriter, Object, JsonSerializer) |