JSONWritingOptions MembersNFX Class Library

[This is preliminary documentation and is subject to change.]

The JSONWritingOptions type exposes the following members.
Constructors

  NameDescription
Public methodJSONWritingOptions 
Initializes a new instance of the JSONWritingOptions class
Public methodJSONWritingOptions(JSONWritingOptions)
Initializes a new instance of the JSONWritingOptions class
Back to Top
Methods

  NameDescription
Public methodConfigure
Public methodOnlineEquals
Determines whether the specified object is equal to the current object.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as the default hash function.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsBool (Defined by ObjectValueConversion.)
Public Extension MethodAsByte (Defined by ObjectValueConversion.)
Public Extension MethodAsChar (Defined by ObjectValueConversion.)
Public Extension MethodAsDateTime Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsDateTime(DateTime, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsDecimal (Defined by ObjectValueConversion.)
Public Extension MethodAsDouble (Defined by ObjectValueConversion.)
Public Extension MethodAsEnum TEnum  (Defined by ObjectValueConversion.)
Public Extension MethodAsFloat (Defined by ObjectValueConversion.)
Public Extension MethodAsGDID Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDID(GDID, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDIDSymbol Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDIDSymbol(GDIDSymbol, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGUID (Defined by ObjectValueConversion.)
Public Extension MethodAsInt (Defined by ObjectValueConversion.)
Public Extension MethodAsJSONConfig (Defined by ObjectValueConversion.)
Public Extension MethodAsLaconicConfig (Defined by ObjectValueConversion.)
Public Extension MethodAsLong (Defined by ObjectValueConversion.)
Public Extension MethodAsNonNullOrEmptyString (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableBool (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableByte (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableChar (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDateTime (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDecimal (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDouble (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableEnum TEnum  (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableFloat (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGDID (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGDIDSymbol (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGUID (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableInt (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableLong (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableSByte (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableShort (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableTimeSpan (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableUInt (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableULong (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableUShort (Defined by ObjectValueConversion.)
Public Extension MethodAsSByte (Defined by ObjectValueConversion.)
Public Extension MethodAsShort (Defined by ObjectValueConversion.)
Public Extension MethodAsString (Defined by ObjectValueConversion.)
Public Extension MethodAsTimeSpan Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsTimeSpan(TimeSpan, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsUInt (Defined by ObjectValueConversion.)
Public Extension MethodAsULong (Defined by ObjectValueConversion.)
Public Extension MethodAsUri (Defined by ObjectValueConversion.)
Public Extension MethodAsUShort (Defined by ObjectValueConversion.)
Public Extension MethodAsXMLConfig (Defined by ObjectValueConversion.)
Public Extension MethodToErlObject Overloaded.
Try to convert .NET native object type to corresponding Erlang term. Throw exception if conversion is not possible
(Defined by ErlObject.)
Public Extension MethodToErlObject(ErlTypeOrder, Boolean)Overloaded.
Try to convert .NET native object type to corresponding Erlang term of given type. Throw exception if conversion is not possible
(Defined by ErlObject.)
Public Extension MethodToJSON(JSONWritingOptions)Overloaded.
Serializes object into JSON string
(Defined by JSONExtensions.)
Public Extension MethodToJSON(TextWriter, JSONWritingOptions)Overloaded.
Serializes object into JSON format using provided TextWriter
(Defined by JSONExtensions.)
Public Extension MethodToJSON(Stream, JSONWritingOptions, Encoding)Overloaded.
Serializes object into JSON format using provided stream and optional encoding
(Defined by JSONExtensions.)
Back to Top
Fields

  NameDescription
Public fieldASCIITarget
Specifies whether the target of serialization only deals with ASCII characeters, so any non-ASCII character with code above 127 must be escaped with unicode escape sequence
Public fieldIndentWidth
Specifies character width of single indent level
Public fieldISODates
Specifies whether DateTime must be encoded using ISO8601 format that look like "2011-03-18T14:25:00Z", otherwise dates are encoded using "new Date(milliseconds_since_unix_epoch)" which is technically not a valid JSON, however most JSON parsers understand it very well
Public fieldMapSkipNulls
If true, then does not write map keys which are null
Public fieldMaxNestingLevel
Sets a limit of object nesting, i.e. for recursive graph depth. Default is 0xff
Public fieldMemberLineBreak
Specifies whether every object member must be placed on a separate line for better readability
Public fieldNLSMapLanguageISO
Specifies language ISO code (3 chars) that is used (when set) by the NLSMap class, so only entries for that particular language are included. When NLSMap contains entries for more than 1 language, but user needs only one entry received for his/her selected language, this option can be set, then NLSMap will only inline Name:Descr pair for that language. If a map does not contain an entry for the reequested lang then NLSMapLanguageISODefault will be tried
Public fieldNLSMapLanguageISODefault
Specified language ISO default for NLSMap lookup, "eng" is used for default
Public fieldObjectLineBreak
Specifies whether objects need to be separated by line brakes for better readability
Public fieldPurpose
Specifies the purpose of JSON serialization so the level of detail may be dynamically adjusted. Depending on this parameter IJSONWritable implementors may include additional details that are otherwise not needed
Public fieldRowMapTargetName
When set, specifies the target name for Row's fields when they are written as map
Public fieldRowsAsMap
When true, writes every row as a map {FieldName: FieldValue,...} instead of array of values
Public fieldRowsetMetadata
When true, writes rowset metadata (i.e. schema, instance id etc.)
Public fieldSpaceSymbols
Indicates whether a space must be placed right after the symbol, such as coma in array declaration or colon in member declaration for better readability
Back to Top
Properties

  NameDescription
Public propertyStatic memberCompact
Writes JSON without line breaks between members and no indenting. Suitable for data transmission
Public propertyStatic memberCompactASCII
Writes JSON without line breaks between members and no indenting escaping any characters with codes above 127 suitable for ASCII transmission
Public propertyStatic memberCompactRowsAsMap
Writes JSON without line breaks between members and no indenting writing rows as maps(key:values) instead of arrays. Suitable for data transmission
Public propertyStatic memberPrettyPrint
Writes JSON suitable for printing/screen display
Public propertyStatic memberPrettyPrintASCII
Writes JSON suitable for printing/screen display with codes above 127 suitable for ASCII transmission
Public propertyStatic memberPrettyPrintRowsAsMap
Writes JSON suitable for printing/screen display writing rows as maps(key:values) instead of arrays
Back to Top
See Also