19 references to SerializationFormat
System.Web.Extensions (19)
Script\Serialization\JavaScriptSerializer.cs (15)
171
return Serialize(obj,
SerializationFormat
.JSON);
174
internal string Serialize(object obj,
SerializationFormat
serializationFormat) {
183
Serialize(obj, output,
SerializationFormat
.JSON);
186
internal void Serialize(object obj, StringBuilder output,
SerializationFormat
serializationFormat) {
189
if (serializationFormat ==
SerializationFormat
.JSON && output.Length > MaxJsonLength) {
212
private static void SerializeDateTime(DateTime datetime, StringBuilder sb,
SerializationFormat
serializationFormat) {
213
Debug.Assert(serializationFormat ==
SerializationFormat
.JSON || serializationFormat ==
SerializationFormat
.JavaScript);
214
if (serializationFormat ==
SerializationFormat
.JSON) {
231
private void SerializeCustomObject(object o, StringBuilder sb, int depth, Hashtable objectsInUse,
SerializationFormat
serializationFormat) {
306
private void SerializeDictionary(IDictionary o, StringBuilder sb, int depth, Hashtable objectsInUse,
SerializationFormat
serializationFormat) {
339
private void SerializeDictionaryKeyValue(string key, object value, StringBuilder sb, int depth, Hashtable objectsInUse,
SerializationFormat
serializationFormat) {
346
private void SerializeEnumerable(IEnumerable enumerable, StringBuilder sb, int depth, Hashtable objectsInUse,
SerializationFormat
serializationFormat) {
366
private void SerializeValue(object o, StringBuilder sb, int depth, Hashtable objectsInUse,
SerializationFormat
serializationFormat, MemberInfo currentMember = null) {
401
private void SerializeValueInternal(object o, StringBuilder sb, int depth, Hashtable objectsInUse,
SerializationFormat
serializationFormat, MemberInfo currentMember) {
UI\ProfileServiceManager.cs (2)
219
sb.Append(serializer.Serialize(topLevelSettings, JavaScriptSerializer.
SerializationFormat
.JavaScript));
229
sb.Append(serializer.Serialize(group.Value, JavaScriptSerializer.
SerializationFormat
.JavaScript));
UI\RoleServiceManager.cs (1)
123
sb.Append(new JavaScriptSerializer().Serialize(roles, JavaScriptSerializer.
SerializationFormat
.JavaScript));
UI\ScriptComponentDescriptor.cs (1)
369
serializer.Serialize(_value, builder, JavaScriptSerializer.
SerializationFormat
.JavaScript);