Click or drag to resize

JsonViewModelSerializer Class

Represents a JSON view model serializer
Inheritance Hierarchy
SystemObject
  SanteDB.Core.ViewModel.JsonJsonViewModelSerializer

Namespace: SanteDB.Core.ViewModel.Json
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public class JsonViewModelSerializer : IViewModelSerializer, 
	IDisposable

The JsonViewModelSerializer type exposes the following members.

Constructors
 NameDescription
Public methodJsonViewModelSerializer Creates a json view model serializer
Top
Properties
 NameDescription
Public propertyForbidDelayLoad Gets whether delay loading should be forbidden
Public propertyViewModel Gets or sets the view model definition for this view model serializer
Top
Methods
 NameDescription
Public methodAddLoadedObject Add a loaded object
Public methodDeSerialize(Stream, Type) De-serializes the data from the stream as the specified type
Public methodDeSerialize(TextReader, Type) De-serializes data from the reader as specified type
Public methodDeSerializeTModel(Stream) De-serializes the specified object from the stream
Public methodDeSerializeTModel(String) De-serialize data from the string
Public methodDispose Dispose of the specified object
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetClassifier Gets the appropriate classifier for the specified type
Public methodGetFormatter Get the specified formatter
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLoadedObject Attempts to get the loaded object
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLoadCollectionTAssociation Delay loads the specified collection association
Public methodLoadRelatedTRelated Load the related information
Public methodLoadSerializerAssembly Load the specified serializer assembly
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReadElementUtil Read the specified element
Public methodSerialize(Object) Serialize object to string
Public methodSerialize(JsonWriter, Object) Serialize data
Public methodSerialize(Stream, Object) Serialize the specified data
Public methodSerialize(TextWriter, Object) Serialize to the specified text writer
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWritePropertyUtil Write property utility
Top
Extension Methods
 NameDescription
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also