11 instantiations of JavaScriptSerializer
System.Web.Extensions (11)
ClientServices\Providers\ClientSettingsProvider.cs (1)
561
new
JavaScriptSerializer
(),
ClientServices\Providers\ProxyHelper.cs (2)
80
JavaScriptSerializer js = new
JavaScriptSerializer
(resolver);
127
JavaScriptSerializer js = new
JavaScriptSerializer
();
Script\Serialization\JavaScriptSerializer.cs (1)
25
JavaScriptSerializer serializer = new
JavaScriptSerializer
();
Script\Services\WebServiceData.cs (1)
161
_serializer = new
JavaScriptSerializer
(this);
UI\ProfileServiceManager.cs (1)
213
JavaScriptSerializer serializer = new
JavaScriptSerializer
();
UI\RoleServiceManager.cs (1)
123
sb.Append(new
JavaScriptSerializer
().Serialize(roles, JavaScriptSerializer.SerializationFormat.JavaScript));
UI\ScriptComponentDescriptor.cs (1)
100
_serializer = new
JavaScriptSerializer
();
UI\ScriptManager.cs (1)
1999
JavaScriptSerializer serializer = new
JavaScriptSerializer
(new SimpleTypeResolver());
UI\ScriptRegistrationManager.cs (2)
313
JavaScriptSerializer serializer = new
JavaScriptSerializer
();
701
JavaScriptSerializer serializer = new
JavaScriptSerializer
();
47 references to JavaScriptSerializer
System.Web.Extensions (47)
ClientServices\Providers\ProxyHelper.cs (2)
80
JavaScriptSerializer
js = new JavaScriptSerializer(resolver);
127
JavaScriptSerializer
js = new JavaScriptSerializer();
Globalization\ClientCultureInfo.cs (1)
124
string json =
JavaScriptSerializer
.SerializeInternal(BuildSerializeableCultureInfo(clientCultureInfo));
Profile\ProfileService.cs (2)
20
private static
JavaScriptSerializer
_javaScriptSerializer;
22
private static
JavaScriptSerializer
JavaScriptSerializer {
Script\Serialization\JavaScriptConverter.cs (2)
18
public abstract object Deserialize(IDictionary<string, object> dictionary, Type type,
JavaScriptSerializer
serializer);
22
public abstract IDictionary<string, object> Serialize(object obj,
JavaScriptSerializer
serializer);
Script\Serialization\JavaScriptObjectDeserializer.cs (5)
29
private
JavaScriptSerializer
_serializer;
32
internal static object BasicDeserialize(string input, int depthLimit,
JavaScriptSerializer
serializer) {
41
private JavaScriptObjectDeserializer(string input, int depthLimit,
JavaScriptSerializer
serializer) {
66
if (dict.ContainsKey(
JavaScriptSerializer
.ServerTypeFieldName)) {
380
DateTime dt = new DateTime(ticks * 10000 +
JavaScriptSerializer
.DatetimeMinTimeTicks, DateTimeKind.Utc);
Script\Serialization\JavaScriptSerializer.cs (2)
25
JavaScriptSerializer
serializer = new JavaScriptSerializer();
29
internal static object Deserialize(
JavaScriptSerializer
serializer, string input, Type type, int depthLimit) {
Script\Serialization\ObjectConverter.cs (11)
25
private static bool AddItemToList(IList oldList, IList newList, Type elementType,
JavaScriptSerializer
serializer, bool throwOnError) {
39
private static bool AssignToPropertyOrField(object propertyValue, object o, string memberName,
JavaScriptSerializer
serializer, bool throwOnError) {
110
private static bool ConvertDictionaryToObject(IDictionary<string, object> dictionary, Type type,
JavaScriptSerializer
serializer, bool throwOnError, out object convertedObject) {
119
if (dictionary.TryGetValue(
JavaScriptSerializer
.ServerTypeFieldName, out s)) {
147
dictionary.Remove(
JavaScriptSerializer
.ServerTypeFieldName);
270
internal static object ConvertObjectToType(object o, Type type,
JavaScriptSerializer
serializer) {
276
private static bool ConvertObjectToTypeMain(object o, Type type,
JavaScriptSerializer
serializer, bool throwOnError, out object convertedObject) {
312
private static bool ConvertObjectToTypeInternal(object o, Type type,
JavaScriptSerializer
serializer, bool throwOnError, out object convertedObject) {
421
private static bool ConvertListToObject(IList list, Type type,
JavaScriptSerializer
serializer, bool throwOnError, out IList convertedList) {
526
internal static bool IsClientInstantiatableType(Type t,
JavaScriptSerializer
serializer) {
573
internal static bool TryConvertObjectToType(object o, Type type,
JavaScriptSerializer
serializer, out object convertedObject) {
Script\Services\ClientProxyGenerator.cs (1)
240
_builder.Append(typeName).Append(".set_jsonpCallbackParameter(").Append(
JavaScriptSerializer
.SerializeInternal(jsonpParameterName)).Append(");\r\n");
Script\Services\RestHandler.cs (4)
84
private static IDictionary<string, object> GetRawParamsFromGetRequest(HttpContext context,
JavaScriptSerializer
serializer, WebServiceMethodData methodData) {
98
private static IDictionary<string, object> GetRawParamsFromPostRequest(HttpContext context,
JavaScriptSerializer
serializer) {
238
writer.Write(
JavaScriptSerializer
.SerializeInternal(BuildWebServiceError(AtlasWeb.WebService_Error, String.Empty, String.Empty)));
241
writer.Write(
JavaScriptSerializer
.SerializeInternal(BuildWebServiceError(ex.Message, ex.StackTrace, ex.GetType().FullName)));
Script\Services\WebServiceData.cs (2)
39
private
JavaScriptSerializer
_serializer;
40
internal
JavaScriptSerializer
Serializer {
UI\ProfileServiceManager.cs (3)
213
JavaScriptSerializer
serializer = new JavaScriptSerializer();
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 (8)
28
private
JavaScriptSerializer
_serializer;
97
private
JavaScriptSerializer
Serializer {
305
public abstract void AppendValue(
JavaScriptSerializer
serializer, StringBuilder builder);
326
public override void AppendValue(
JavaScriptSerializer
serializer, StringBuilder builder) {
346
public override void AppendValue(
JavaScriptSerializer
serializer, StringBuilder builder) {
366
public override void AppendValue(
JavaScriptSerializer
serializer, StringBuilder builder) {
369
serializer.Serialize(_value, builder,
JavaScriptSerializer
.SerializationFormat.JavaScript);
386
public override void AppendValue(
JavaScriptSerializer
serializer, StringBuilder builder) {
UI\ScriptManager.cs (1)
1999
JavaScriptSerializer
serializer = new JavaScriptSerializer(new SimpleTypeResolver());
UI\ScriptRegistrationManager.cs (2)
313
JavaScriptSerializer
serializer = new JavaScriptSerializer();
701
JavaScriptSerializer
serializer = new JavaScriptSerializer();