{"action":"opened","issue":{"url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/4275","repository_url":"https://api.github.com/repos/AFNetworking/AFNetworking","labels_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/4275/labels{/name}","comments_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/4275/comments","events_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/4275/events","html_url":"https://github.com/AFNetworking/AFNetworking/issues/4275","id":353513424,"node_id":"MDU6SXNzdWUzNTM1MTM0MjQ=","number":4275,"title":"error when getting get with parameter in json","user":{"login":"frpereda","id":40291581,"node_id":"MDQ6VXNlcjQwMjkxNTgx","avatar_url":"https://avatars1.githubusercontent.com/u/40291581?v=4","gravatar_id":"","url":"https://api.github.com/users/frpereda","html_url":"https://github.com/frpereda","followers_url":"https://api.github.com/users/frpereda/followers","following_url":"https://api.github.com/users/frpereda/following{/other_user}","gists_url":"https://api.github.com/users/frpereda/gists{/gist_id}","starred_url":"https://api.github.com/users/frpereda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frpereda/subscriptions","organizations_url":"https://api.github.com/users/frpereda/orgs","repos_url":"https://api.github.com/users/frpereda/repos","events_url":"https://api.github.com/users/frpereda/events{/privacy}","received_events_url":"https://api.github.com/users/frpereda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-23T19:06:15Z","updated_at":"2018-08-23T19:06:15Z","closed_at":null,"author_association":"NONE","body":"Hello, when you did get and sent a parameter in json format of more than five elements an error occurs Error Domain = com.alamofire.error.serialization.response Code = -1011\r\n\r\nIf the parameter in JSON contains fewer elements it works correctly.\r\n\r\nIs there any limitation on the size of the JSON parameter?\r\n\r\nThis is the JSON that does not send to the server:\r\n\r\n[\r\n  {\r\n    \"precio\" : 6.5,\r\n    \"cantidad\" : 1,\r\n    \"descripcion\" : \"Chili Hot Dog\",\r\n    \"id_restaurante\" : 8,\r\n    \"id_mesa\" : 0,\r\n    \"id_consumidor\" : 2,\r\n    \"id_producto\" : 23,\r\n    \"total\" : 6.5,\r\n    \"media_racion\" : 0\r\n  },\r\n  {\r\n    \"precio\" : 5.5,\r\n    \"cantidad\" : 1,\r\n    \"descripcion\" : \"Classic Hot Dog\",\r\n    \"id_restaurante\" : 8,\r\n    \"id_mesa\" : 0,\r\n    \"id_consumidor\" : 2,\r\n    \"id_producto\" : 22,\r\n    \"total\" : 5.5,\r\n    \"media_racion\" : 0\r\n  },\r\n  {\r\n    \"precio\" : 4,\r\n    \"cantidad\" : 1,\r\n    \"descripcion\" : \"Hot dog infantil\",\r\n    \"id_restaurante\" : 8,\r\n    \"id_mesa\" : 0,\r\n    \"id_consumidor\" : 2,\r\n    \"id_producto\" : 25,\r\n    \"total\" : 4,\r\n    \"media_racion\" : 0\r\n  },\r\n  {\r\n    \"precio\" : 4.5,\r\n    \"cantidad\" : 1,\r\n    \"descripcion\" : \"Pizzela jamón york y champiñones\",\r\n    \"id_restaurante\" : 8,\r\n    \"id_mesa\" : 0,\r\n    \"id_consumidor\" : 2,\r\n    \"id_producto\" : 48,\r\n    \"total\" : 4.5,\r\n    \"media_racion\" : 0\r\n  },\r\n  {\r\n    \"precio\" : 4.5,\r\n    \"cantidad\" : 1,\r\n    \"descripcion\" : \"Pizzela jamón york y queso\",\r\n    \"id_restaurante\" : 8,\r\n    \"id_mesa\" : 0,\r\n    \"id_consumidor\" : 2,\r\n    \"id_producto\" : 47,\r\n    \"total\" : 4.5,\r\n    \"media_racion\" : 0\r\n  },\r\n  {\r\n    \"precio\" : 4.5,\r\n    \"cantidad\" : 1,\r\n    \"descripcion\" : \"Pizzela margarita\",\r\n    \"id_restaurante\" : 8,\r\n    \"id_mesa\" : 0,\r\n    \"id_consumidor\" : 2,\r\n    \"id_producto\" : 50,\r\n    \"total\" : 4.5,\r\n    \"media_racion\" : 0\r\n  },\r\n  {\r\n    \"precio\" : 4.5,\r\n    \"cantidad\" : 1,\r\n    \"descripcion\" : \"Pizzela pepperoni y queso\",\r\n    \"id_restaurante\" : 8,\r\n    \"id_mesa\" : 0,\r\n    \"id_consumidor\" : 2,\r\n    \"id_producto\" : 49,\r\n    \"total\" : 4.5,\r\n    \"media_racion\" : 0\r\n  }\r\n]\r\n\r\nAnd this is the code that I use:\r\n\r\nNSURL *baseURL = [NSURL URLWithString:webservice_url];\r\n                NSString *methodName = @\"Name of the method\";\r\n                NSDictionary *dictParameters = @{@\"JSON\": jsonString};\r\n                \r\n                AFHTTPSessionManager *manager = [[AFHTTPSessionManager alloc] initWithBaseURL:baseURL];\r\n                manager.requestSerializer = [AFJSONRequestSerializer serializer];\r\n                manager.responseSerializer = [AFHTTPResponseSerializer serializer];\r\n                \r\n                [manager GET:methodName parameters:dictParameters progress:nil success:^(NSURLSessionTask *task, id responseObject){\r\n\r\n}failure:^(NSURLSessionTask *operation, NSError *error) {\r\n\r\n}\r\n\r\nAny suggestions?, thanks!!\r\n"}}
{"actor":{"display_login":"frpereda"}}