Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Created Issue: The positive and negative infinity floading value should be serialized as "INF" and "-INF" instead of "Infinity" and "-Infinity". [1705]

$
0
0
The Json protocol says in 4.5.3 Annotations odata.type:
• The floating-point values NaN, INF, and -INF are serialized as strings and MUST have an odata.type annotation to specify the numeric type.

But now it is serialized as "Infinity" and "-Infinity":

"anything@odata.type":"#Double","anything":"-Infinity"

and @odata.type doesn't appear in odata.metadata=minimal.

Viewing all articles
Browse latest Browse all 7215

Trending Articles