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

json format - root element is missing

$
0
0

Is there a way to configure the webapi project to wrap the json data with a root element for instance, "GetProductResults" - see below

{
 "GetProductResults":[
  {"ProductCode":"1234","ProductQuantity":"20"},
  {"ProductCode":"5678","ProductQuantity":"40"}
 ]
}


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>