ctrlX Data Layer .NET API  4.3.0
Loading...
Searching...
No Matches
IConverter Interface Reference

The IConverter interface. More...

Inheritance diagram for IConverter:
INativeDisposable

Public Member Functions

DLR_RESULT IVariant value GenerateJsonComplex (IVariant valueFlatbuffers, IVariant typeFlatbuffers, int indentStep=0)
 
DLR_RESULT IVariant value GenerateJsonSimple (IVariant value, int indentStep=0)
 
DLR_RESULT IVariant value GetSchema (DLR_SCHEMA schema)
 
DLR_RESULT IVariant IVariant error ParseJsonComplex (string json, IVariant typeFlatbuffers)
 
DLR_RESULT IVariant IVariant error ParseJsonSimple (string json)
 

Public Attributes

DLR_RESULT result
 Generates a JSON string out of a simple Variant.
 
DLR_RESULT IVariant value
 

Additional Inherited Members

- Properties inherited from INativeDisposable
bool IsDisposed [get]
 Checks disposed.
 

Detailed Description

The IConverter interface.

Definition at line 8 of file IConverter.cs.

Member Data Documentation

◆ result

DLR_RESULT result

Generates a JSON string out of a simple Variant.

Gets the schema.

Parses a JSON string out of a complex Variant (flatbuffers).

Parses a JSON string out of a simple Variant.

Generates a JSON string out of a complex Variant (flatbuffers).

Parameters
valueValue to set.
indentStepIndentation length for JSON string.
Returns
Result of the method call.
Exceptions
ArgumentNullExceptionArgument cannot be null.
Parameters
valueFlatbuffersValue of the complex Variant (flatbuffers).
typeFlatbuffersVariant which contains the type (schema) of the flatbuffers.
indentStepIndentation length for JSON string.
Returns
Result of the method call.
Exceptions
ArgumentNullExceptionArgument cannot be null.
Parameters
jsonData of the Variant as a JSON string.
Returns
Result of the method call.
Exceptions
ArgumentNullExceptionArgument cannot be null.
Parameters
jsonData of the Variant as a JSON string.
typeFlatbuffersVariant which contains the type (schema) of the flatbuffers.
Returns
Result of the method call.
Exceptions
ArgumentNullExceptionArgument cannot be null.
Parameters
schemaRequested schema.
Returns
Result of the method call.

Definition at line 17 of file IConverter.cs.

◆ value

Definition at line 35 of file IConverter.cs.


The documentation for this interface was generated from the following file: