Quantcast
Channel: Deserialize Web Api OData response - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Carl Heinrich Hancke for Deserialize Web Api OData response

If you need access to the @odata.xxx fields in the response JSON (such as implementing a loop for paged results), the following is my implementation which expands on the solution from andygjp.I'm using...

View Article



Answer by andygjp for Deserialize Web Api OData response

Try deserialize the content like this:var content = response.Content.ReadAsAsync<ODataResponse<Person>>();Where ODataResponse is:internal class ODataResponse<T>{ public T[] Value {...

View Article

Deserialize Web Api OData response

I have an Entity Framework object returned by OData V4 controller.I return an IQueryable and if I call the OData endpoint without any OData clause I can succesfully do this:var content =...

View Article
Browsing all 3 articles
Browse latest View live


Latest Images

Pangarap Quotes

Pangarap Quotes

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

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