WCF-Xtensions Class Reference for Mono
FloatFormatHandling Enumeration






Specifies float format handling options when writing special floating point numbers, e.g. System.Double.NaN, System.Double.PositiveInfinity and System.Double.NegativeInfinity with JsonWriter.
Syntax
'Declaration
 
Public Enum FloatFormatHandling 
   Inherits System.Enum
'Usage
 
Dim instance As FloatFormatHandling
public enum FloatFormatHandling : System.Enum 
public enum FloatFormatHandling = class(System.Enum)
public enum FloatFormatHandling extends System.Enum
__value public enum FloatFormatHandling : public System.Enum 
public enum class FloatFormatHandling : public System.Enum 
Members
MemberDescription
DefaultValueWrite special floating point values as the property's default value in JSON, e.g. 0.0 for a System.Double property, null for a System.Nullable`1 property.
String Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".
Symbol Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. Note that this will produce non-valid JSON.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Noemax.Newtonsoft.Json.FloatFormatHandling

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Noemax.Newtonsoft.Json Namespace

Send Feedback