Quantcast
Channel: Web API
Viewing all articles
Browse latest Browse all 4850

Is there a limit to the serialized JSON response? (max-ing at 2000)

$
0
0

I have a linq query that has a result with 2110 records. The returned JSON from different REST ciients would only show an array of 2000 objects. I have set a higher maxJsonLength limit in <jsonSerialization/> in the web.config but that did not work.

public IQueryable<object> Get(){

var result=from x in context.xCollection
where
//conditions set here
select new {
//about 14 relatively short string properties set here
};

//Logging at this point shows 2110 records
return result;

//the returned JSON (from the REST client) only has 2000 records
}


Any ideas?


Viewing all articles
Browse latest Browse all 4850

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>