Class JsonSerializerWriter
Inheritance
System.Object
JsonSerializerWriter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Bayat.Json.Runtime.dll
Syntax
public class JsonSerializerWriter : JsonSerializerInternalBase
Constructors
|
Improve this Doc
View Source
JsonSerializerWriter(JsonSerializer)
Declaration
public JsonSerializerWriter(JsonSerializer serializer)
Parameters
Methods
|
Improve this Doc
View Source
CalculatePropertyValues(JsonWriter, Object, JsonContainerContract, JsonProperty, JsonProperty, out JsonContract, out Object)
Declaration
public bool CalculatePropertyValues(JsonWriter writer, object value, JsonContainerContract contract, JsonProperty member, JsonProperty property, out JsonContract memberContract, out object memberValue)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HandleError(JsonWriter, Int32)
Declaration
public void HandleError(JsonWriter writer, int initialDepth)
Parameters
Type |
Name |
Description |
JsonWriter |
writer |
|
System.Int32 |
initialDepth |
|
|
Improve this Doc
View Source
Serialize(JsonWriter, Object)
Declaration
public void Serialize(JsonWriter writer, object value)
Parameters
Type |
Name |
Description |
JsonWriter |
writer |
|
System.Object |
value |
|
|
Improve this Doc
View Source
Serialize(JsonWriter, Object, Type)
Declaration
public void Serialize(JsonWriter jsonWriter, object value, Type objectType)
Parameters
Type |
Name |
Description |
JsonWriter |
jsonWriter |
|
System.Object |
value |
|
System.Type |
objectType |
|
|
Improve this Doc
View Source
SerializeObject(JsonWriter, Object, JsonObjectContract, JsonProperty, JsonContainerContract, JsonProperty)
Declaration
public void SerializeObject(JsonWriter writer, object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
Parameters
|
Improve this Doc
View Source
SerializeObjectProperties(JsonWriter, Object, JsonObjectContract, JsonProperty, JsonContainerContract, JsonProperty)
Declaration
public void SerializeObjectProperties(JsonWriter writer, object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
Parameters
|
Improve this Doc
View Source
SerializeObjectProperties(JsonWriter, Object, JsonObjectContract, JsonProperty, JsonContainerContract, JsonProperty, String[])
Declaration
public void SerializeObjectProperties(JsonWriter writer, object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty, string[] ignoreMembers)
Parameters
|
Improve this Doc
View Source
SerializeProperty(JsonWriter, String, Object)
Declaration
public void SerializeProperty(JsonWriter writer, string propertyName, object value)
Parameters
Type |
Name |
Description |
JsonWriter |
writer |
|
System.String |
propertyName |
|
System.Object |
value |
|
|
Improve this Doc
View Source
SerializeValue(JsonWriter, Object, JsonContract, JsonProperty, JsonContainerContract, JsonProperty)
Declaration
public void SerializeValue(JsonWriter writer, object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty)
Parameters
|
Improve this Doc
View Source
TryConvertToString(Object, Type, out String)
Declaration
public static bool TryConvertToString(object value, Type type, out string s)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.Type |
type |
|
System.String |
s |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
WriteObjectStart(JsonWriter, Object, JsonContract, JsonProperty, JsonContainerContract, JsonProperty)
Declaration
public void WriteObjectStart(JsonWriter writer, object value, JsonContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
Parameters
|
Improve this Doc
View Source
WriteTypeProperty(JsonWriter, Type)
Declaration
public void WriteTypeProperty(JsonWriter writer, Type type)
Parameters
Type |
Name |
Description |
JsonWriter |
writer |
|
System.Type |
type |
|